freebsd-dev/usr.bin/cmp
Alexander Langer 8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
..
cmp.1 Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
cmp.c I don't like what they did to cmp(1) in 4.4 Lite; now it whines all 1994-08-20 11:14:07 +00:00
extern.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
Makefile BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
misc.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
regular.c Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
special.c Our mmap(2) has a limitation where the `offset' parameter must be 1997-01-08 12:00:55 +00:00