CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2017/08/26 09:55:41
Modified files: usr.bin/mandoc : mandocdb.c Log message: 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@.