259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
227156 |
06-Nov-2011 |
ed |
Add missing static keywords to cmp(1)
|
223376 |
21-Jun-2011 |
delphij |
Eliminate unneeded headers.
|
216370 |
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
200462 |
13-Dec-2009 |
delphij |
Revert most part of 200420 as requested, as more review and polish is needed.
|
200420 |
11-Dec-2009 |
delphij |
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
|
180426 |
10-Jul-2008 |
charnier |
add __unused to succeed at WARNS=6
|
165345 |
19-Dec-2006 |
ru |
Refine markup and add the EXIT STATUS section where appropriate.
|
152568 |
18-Nov-2005 |
ru |
-mdoc sweep.
|
149388 |
23-Aug-2005 |
brian |
Add a -h option to tell cmp not to follow symbolic links.
MFC after: 3 weeks Sponsored by: Sophos/ActiveState
|
116572 |
19-Jun-2003 |
murray |
phk added the -x option in May 2000, but only for regular files; for special files it was treated like -l. This commit adds the -x option in for special files as well.
PR: bin/46249 Submitted by: Colin Percival <cperciva@sfu.ca>
|
111538 |
26-Feb-2003 |
das |
The cmp utility has the questionable feature of using mmap when comparing regular files. Add a SIGSEGV handler to make its behavior less surprising when a read error occurs. The handler does not attempt to distinguish errors from file truncation, but anyone actively modifying a file while trying to compare it shouldn't even expect something sane to happen.
PR: 45391 Reviewed by: mike (mentor)
|
108470 |
30-Dec-2002 |
schweikh |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
100815 |
28-Jul-2002 |
dwmalone |
ANSIify function definitions to avoid a warning.
|
97985 |
07-Jun-2002 |
tjr |
No need to check for "-" explicitly in getopt() loop.
|
97984 |
07-Jun-2002 |
tjr |
Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)
|
92920 |
22-Mar-2002 |
imp |
remove __P
|
90415 |
08-Feb-2002 |
markm |
Remove leaf node WARNS?=2 (that mainly I added). This should help the GCC3 transition and CURRENT in general.
|
87628 |
10-Dec-2001 |
dwmalone |
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.
|
87282 |
03-Dec-2001 |
dwmalone |
Cast off_t to long long before printing. Use %ll instead of %q incase long long and quad_t are not the same.
|
87241 |
02-Dec-2001 |
markm |
Turn on WARNS=2. Use __FBSDID().
|
86099 |
05-Nov-2001 |
dwmalone |
Make filenames const to avoid a few warnings. Add FreeBSD tags.
Reviewed by: cmp
|
86098 |
05-Nov-2001 |
dwmalone |
Don't use gcc -Wall flag. Add FreeBSD: line.
|
86044 |
04-Nov-2001 |
dwmalone |
Make cmp work by mmapping chunks of a file, rather than the whole file at one time.
PR: 24732 Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru> MFC after: 2 weeks
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
68963 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
63843 |
25-Jul-2000 |
sheldonh |
Fix a bug introduced in rev 1.8, where special files ended up being treated like regular files because of missing braces.
PR: 20143
|
63157 |
14-Jul-2000 |
brian |
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>
|
61883 |
20-Jun-2000 |
green |
Make cmp -s work properly if skip values are given. Also, exit(1) is now exit(DIFF_EXIT).
PR: 18597 Submitted by: Anatoly Vorobey <mellon@pobox.com> Committed at: Usenix terminal room
|
60586 |
15-May-2000 |
phk |
Oops, byte offset was as off_t.
|
60583 |
15-May-2000 |
phk |
Let cmp(1) grow in -x option to print differences in contemporarry hex format rather than the mixed decimal/octal format of -l.
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49235 |
29-Jul-1999 |
green |
Fix improper mmap length paramater which can result in improper behavior or cmp crashing in specific cases.
|
46081 |
25-Apr-1999 |
imp |
More egcs warning fixes: o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0
Reviewed by: obrien and chuckr
|
41568 |
06-Dec-1998 |
archie |
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
|
36385 |
26-May-1998 |
steve |
"EOF of file..." is written to stderr and not stdout.
PR: 6756
|
28421 |
19-Aug-1997 |
jlemon |
Permit hex/octal parameters to cmp, to match what the manual page says.
PR: 3850, 3855
|
26957 |
26-Jun-1997 |
charnier |
Correct usage string. Program name converted to bold in man page.
|
24360 |
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
23012 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21786 |
16-Jan-1997 |
alex |
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
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
21429 |
08-Jan-1997 |
joerg |
Our mmap(2) has a limitation where the `offset' parameter must be page-aligned. cmp(1) should know about this flaw, and work around it.
While i was at it, fixed an uninitialized variable as reported by -Wall.
|
20312 |
11-Dec-1996 |
dyson |
When mmap is used, do an madvise(MADV_SEQUENTIAL) to make things go much more quickly when file input is really done. Of course, the fully cached case will make no difference.
|
17891 |
29-Aug-1996 |
wosch |
[HISTORY] command appeared in Version 1 AT&T UNIX Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
2149 |
20-Aug-1994 |
jkh |
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
|
1591 |
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|