1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/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 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
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