freebsd-skq/usr.bin/cmp
David Schultz d48905120d 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)
2003-02-26 06:44:46 +00:00
..
cmp.1 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
cmp.c ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
extern.h remove __P 2002-03-22 01:22:50 +00:00
Makefile
misc.c ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
regular.c The cmp utility has the questionable feature of using mmap when 2003-02-26 06:44:46 +00:00
special.c ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00