Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
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.
2001-12-10 21:13:08 +00:00
Mark Murray
6af414cb2e
Turn on WARNS=2.
...
Use __FBSDID().
2001-12-02 23:29:26 +00:00
David Malone
c5250ed112
Make filenames const to avoid a few warnings.
...
Add FreeBSD tags.
Reviewed by: cmp
2001-11-05 20:33:40 +00:00
Sheldon Hearn
1727cb4cae
Fix a bug introduced in rev 1.8, where special files ended up
...
being treated like regular files because of missing braces.
PR: 20143
2000-07-25 13:01:34 +00:00
Brian Somers
3e6902efc8
Add the -z flag to check file sizes first
...
Correct the cmp.1 usage message
Correct the -l/-s incompatibility message
Submitted by: Mark Knight <markk@knigma.org>
2000-07-14 16:54:59 +00:00
Poul-Henning Kamp
e03983a32c
Let cmp(1) grow in -x option to print differences in contemporarry hex
...
format rather than the mixed decimal/octal format of -l.
2000-05-15 08:30:43 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
Jonathan Lemon
1e17b9450c
Permit hex/octal parameters to cmp, to match what the manual page says.
...
PR: 3850, 3855
1997-08-19 14:34:04 +00:00
Philippe Charnier
f771f05273
Correct usage string. Program name converted to bold in man page.
1997-06-26 11:22:12 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Jordan K. Hubbard
e526625999
I don't like what they did to cmp(1) in 4.4 Lite; now it whines all
...
the time, even with -s. Make cmp SHUT UP about non-existant files
when run with -s.
Submitted by: jkh
1994-08-20 11:14:07 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00