summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/cmp.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-4/+2
|
* No need to check for "-" explicitly in getopt() loop.tjr2002-06-071-5/+1
|
* Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)tjr2002-06-071-4/+4
|
* remove __Pimp2002-03-221-1/+1
|
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Turn on WARNS=2.markm2001-12-021-5/+6
| | | | Use __FBSDID().
* Make filenames const to avoid a few warnings.dwmalone2001-11-051-1/+1
| | | | | | Add FreeBSD tags. Reviewed by: cmp
* Fix a bug introduced in rev 1.8, where special files ended upsheldonh2000-07-251-1/+2
| | | | | | being treated like regular files because of missing braces. PR: 20143
* Add the -z flag to check file sizes firstbrian2000-07-141-4/+14
| | | | | | | Correct the cmp.1 usage message Correct the -l/-s incompatibility message Submitted by: Mark Knight <markk@knigma.org>
* Let cmp(1) grow in -x option to print differences in contemporarry hexphk2000-05-151-2/+9
| | | | format rather than the mixed decimal/octal format of -l.
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-2/+2
|
* Permit hex/octal parameters to cmp, to match what the manual page says.jlemon1997-08-191-2/+2
| | | | PR: 3850, 3855
* Correct usage string. Program name converted to bold in man page.charnier1997-06-261-1/+1
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* I don't like what they did to cmp(1) in 4.4 Lite; now it whines alljkh1994-08-201-8/+24
| | | | | | the time, even with -s. Make cmp SHUT UP about non-existant files when run with -s. Submitted by: jkh
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+146
OpenPOWER on IntegriCloud