summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/regular.c
AgeCommit message (Expand)Author
2021-01-09PR/55916: William Ahern: cmp -s + regular files + skipping is brokenchristos
2013-11-20Explicitly include <stdint.h> for uintmax_t; from Eitan Adler.kleink
2011-11-28Remove unused header. From Henning Petersen in PR 45658.wiz
2009-04-18Compare size_t vs off_t by casting both to uintmax_tlukem
2009-04-11Fix WARNS=4 issues (many -Wcast-qual, one -Wsign-compare on amd64)lukem
2006-06-03off-by-one (thanks to our anonymous contributor)christos
2006-06-03If one file is shorter than the other, print the byte and line offsets ifchristos
2005-04-11Don't put a space before function call operator.enami
2005-04-11byte offset and line count shouldn't be initialized inside the loop.enami
2005-04-11Fix indent and wrap long lines.enami
2005-03-07Initialise dfound outside loop so that 0 sized files compare correctlydsl
2005-02-06mmap normal files in 1MB chunks.dsl
2005-02-06Taking (out) the __Pdsl
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2001-01-04use %ll_ instead of the less standard %q_lukem
2000-07-27Use MAP_SHARED.mycroft
2000-07-18Do not mmap() with MAP_PRIVATE - looks like kernel tries to preallocatejdolecek
2000-03-20* Hint MADV_SEQUENTIAL.kleink
1998-08-25Add { and } to shut up egcs. Reformat the more questionable code.ross
1997-12-09use MAP_PRIVATE|MAP_FILE rather than "0"mrg
1997-10-19fix compile warnings on the alpha.mrg
1997-10-18WARNSify, fix .Nm usagelukem
1997-01-09RCS ID policetls
1995-09-08Sync with 4.4lite2tls
1995-09-04imported from 44lite2tls