303975 |
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
299094 |
04-May-2016 |
ngie |
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed after r298107
Summary of changes:
- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)
Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info.
MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
296587 |
09-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Connect MK_TESTS.
Sponsored by: EMC / Isilon Storage Division
|
289172 |
12-Oct-2015 |
ngie |
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
272780 |
09-Oct-2014 |
ngie |
Integrate usr.bin/cmp/tests from NetBSD into atf/kyua
In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division
|
258329 |
18-Nov-2013 |
eadler |
Bump .Dd for recent change
|
258326 |
18-Nov-2013 |
eadler |
Indicate which options are extensions to POSIX.
Inspired by: DragonFlyBSD
|
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.
|