summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-02-26 06:44:46 +0000
committerdas <das@FreeBSD.org>2003-02-26 06:44:46 +0000
commit3fa6bd360fe3ba14be1ccfd435a3ebf4c8c977c8 (patch)
tree880444af9a8eecac34d56a8917f377e0ba9b2e0f /lib/libpthread/thread
parentaa73de5a6fe9ae99a9b01fa48f4ded1faec95aab (diff)
downloadFreeBSD-src-3fa6bd360fe3ba14be1ccfd435a3ebf4c8c977c8.zip
FreeBSD-src-3fa6bd360fe3ba14be1ccfd435a3ebf4c8c977c8.tar.gz
The cmp utility has the questionable feature of using mmap when
comparing regular files. Add a SIGSEGV handler to make its behavior less surprising when a read error occurs. The handler does not attempt to distinguish errors from file truncation, but anyone actively modifying a file while trying to compare it shouldn't even expect something sane to happen. PR: 45391 Reviewed by: mike (mentor)
Diffstat (limited to 'lib/libpthread/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud