summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/regular.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move a premature optimization so that -s with offsets works.otto2021-01-091-4/+4
| | | | ok florian@ tb@
* SIZE_MAX is standard, we should be using it in preference to themillert2015-02-061-3/+3
| | | | obsolete SIZE_T_MAX. OK miod@ beck@
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+4
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* ansify; ok millert@okan2011-01-191-5/+3
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* mark mmap()ed memory as sequentially accessedmickey2003-11-211-2/+6
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* first pass at a -Wall cleanupderaadt2001-07-121-3/+4
|
* nice going, this did not even compilederaadt2000-10-121-5/+5
|
* Fix cmp(1). It causes memory shortage for bigger files.kevlo2000-10-121-8/+13
| | | | OK art@
* use particular mapping type instead of bogus zero.mickey1999-08-031-7/+8
| | | | -Wall overall happiness; millert@ ok
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+104