summaryrefslogtreecommitdiffstats
path: root/regress/roff/sp/scaling-mdoc.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-08-26 15:55:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-08-26 15:55:46 +0000
commitc91da7a12ce9c35b28b6bd3cb716a459222cf57d (patch)
tree5188248c29b57b01e83470a53a684d86e8ae9419 /regress/roff/sp/scaling-mdoc.in
parente154b36d2bbda0660363039b44e8e0881cdf18fa (diff)
downloadmandoc-c91da7a12ce9c35b28b6bd3cb716a459222cf57d.tar.gz
Do not fork and exec cmp(1); instead, simply fstat(2), mmap(2), and
compare the files directly, allowing a much stricter pledge(2), at very little cost: merely 15 additional lines of very simple code. Suggested by George Brown <321 dot george at gmail dot com> on misc@.
Diffstat (limited to 'regress/roff/sp/scaling-mdoc.in')
0 files changed, 0 insertions, 0 deletions