diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-26 15:55:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-26 15:55:46 +0000 |
commit | c91da7a12ce9c35b28b6bd3cb716a459222cf57d (patch) | |
tree | 5188248c29b57b01e83470a53a684d86e8ae9419 /regress/man/OP/args.in | |
parent | e154b36d2bbda0660363039b44e8e0881cdf18fa (diff) | |
download | mandoc-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/man/OP/args.in')
0 files changed, 0 insertions, 0 deletions