NetBSD/usr.bin/cmp
jdolecek 2d6604a645 Do not mmap() with MAP_PRIVATE - looks like kernel tries to preallocate
some memory in case the mmapped contents would be changed and this fails
for very large files; it's unnecessary anyway, cmp(1) does not change file
contents in any way.
This fixes bin/10625 by Uwe Klaus.

While here, change the code to fallback to classic stdio if mmap fails.
2000-07-18 10:23:43 +00:00
..
Makefile
cmp.1
cmp.c
extern.h
misc.c
regular.c
special.c