Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add META_MODE support. | sjg | 2015-06-13 | 1 | -0/+18 |
|\ | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | dirdeps.mk now sets DEP_RELDIR | sjg | 2015-06-08 | 1 | -2/+0 |
| | | |||||
| * | Merge from head@274682 | sjg | 2014-11-19 | 2 | -0/+18 |
| |\ | |/ |/| | |||||
| * | Updated dependencies | sjg | 2014-05-16 | 1 | -1/+0 |
| | | |||||
| * | Updated dependencies | sjg | 2014-05-10 | 1 | -0/+2 |
| | | |||||
| * | Merge head | sjg | 2014-04-28 | 1 | -1/+7 |
| |\ | |||||
| * | | Updated dependencies | sjg | 2013-03-11 | 1 | -0/+1 |
| | | | |||||
| * | | Updated dependencies | sjg | 2013-02-16 | 1 | -2/+0 |
| | | | |||||
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch. | marcel | 2012-08-22 | 1 | -0/+19 |
| | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> | ||||
* | | | Integrate usr.bin/cmp/tests from NetBSD into atf/kyua | ngie | 2014-10-09 | 2 | -0/+18 |
| |/ |/| | | | | | | | In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division | ||||
* | | Bump .Dd for recent change | eadler | 2013-11-18 | 1 | -1/+1 |
| | | |||||
* | | Indicate which options are extensions to POSIX. | eadler | 2013-11-18 | 1 | -0/+6 |
|/ | | | | Inspired by: DragonFlyBSD | ||||
* | Add missing static keywords to cmp(1) | ed | 2011-11-06 | 1 | -1/+1 |
| | |||||
* | Eliminate unneeded headers. | delphij | 2011-06-21 | 2 | -3/+0 |
| | |||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 6 | -24/+0 |
| | | | | | | | | | 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 | ||||
* | Revert most part of 200420 as requested, as more review and polish is | delphij | 2009-12-13 | 2 | -0/+3 |
| | | | | needed. | ||||
* | Remove unneeded header includes from usr.bin/ except contributed code. | delphij | 2009-12-11 | 2 | -3/+0 |
| | | | | Tested with: make universe | ||||
* | add __unused to succeed at WARNS=6 | charnier | 2008-07-10 | 1 | -1/+1 |
| | |||||
* | Refine markup and add the EXIT STATUS section where appropriate. | ru | 2006-12-19 | 1 | -4/+4 |
| | |||||
* | -mdoc sweep. | ru | 2005-11-18 | 1 | -2/+2 |
| | |||||
* | Add a -h option to tell cmp not to follow symbolic links. | brian | 2005-08-23 | 5 | -7/+123 |
| | | | | | MFC after: 3 weeks Sponsored by: Sophos/ActiveState | ||||
* | phk added the -x option in May 2000, but only for regular files; for | murray | 2003-06-19 | 1 | -1/+5 |
| | | | | | | | | 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> | ||||
* | The cmp utility has the questionable feature of using mmap when | das | 2003-02-26 | 1 | -0/+21 |
| | | | | | | | | | | | 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) | ||||
* | Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ | schweikh | 2002-12-30 | 1 | -1/+1 |
| | | | | Add FreeBSD Id tag where missing. | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 4 | -21/+9 |
| | |||||
* | No need to check for "-" explicitly in getopt() loop. | tjr | 2002-06-07 | 1 | -5/+1 |
| | |||||
* | Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3) | tjr | 2002-06-07 | 1 | -4/+4 |
| | |||||
* | remove __P | imp | 2002-03-22 | 3 | -6/+6 |
| | |||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Style improvements recommended by Bruce as a follow up to some | dwmalone | 2001-12-10 | 5 | -21/+25 |
| | | | | | | | | 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. | ||||
* | Cast off_t to long long before printing. Use %ll instead of %q incase | dwmalone | 2001-12-03 | 3 | -5/+8 |
| | | | | long long and quad_t are not the same. | ||||
* | Turn on WARNS=2. | markm | 2001-12-02 | 5 | -17/+22 |
| | | | | Use __FBSDID(). | ||||
* | Make filenames const to avoid a few warnings. | dwmalone | 2001-11-05 | 5 | -9/+15 |
| | | | | | | Add FreeBSD tags. Reviewed by: cmp | ||||
* | Don't use gcc -Wall flag. Add FreeBSD: line. | dwmalone | 2001-11-05 | 1 | -1/+1 |
| | |||||
* | Make cmp work by mmapping chunks of a file, rather than the whole | dwmalone | 2001-11-04 | 1 | -14/+52 |
| | | | | | | | | file at one time. PR: 24732 Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru> MFC after: 2 weeks | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -2/+2 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -7/+7 |
| | |||||
* | Fix a bug introduced in rev 1.8, where special files ended up | sheldonh | 2000-07-25 | 1 | -1/+2 |
| | | | | | | being treated like regular files because of missing braces. PR: 20143 | ||||
* | Add the -z flag to check file sizes first | brian | 2000-07-14 | 2 | -5/+19 |
| | | | | | | | Correct the cmp.1 usage message Correct the -l/-s incompatibility message Submitted by: Mark Knight <markk@knigma.org> | ||||
* | Make cmp -s work properly if skip values are given. Also, exit(1) | green | 2000-06-20 | 1 | -3/+3 |
| | | | | | | | | is now exit(DIFF_EXIT). PR: 18597 Submitted by: Anatoly Vorobey <mellon@pobox.com> Committed at: Usenix terminal room | ||||
* | Oops, byte offset was as off_t. | phk | 2000-05-15 | 1 | -1/+1 |
| | |||||
* | Let cmp(1) grow in -x option to print differences in contemporarry hex | phk | 2000-05-15 | 4 | -4/+25 |
| | | | | format rather than the mixed decimal/octal format of -l. | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Fix improper mmap length paramater which can result in improper behavior | green | 1999-07-29 | 1 | -7/+9 |
| | | | | or cmp crashing in specific cases. | ||||
* | More egcs warning fixes: | imp | 1999-04-25 | 2 | -3/+6 |
| | | | | | | | | | | 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 | ||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | archie | 1998-12-06 | 5 | -5/+6 |
| | |||||
* | "EOF of file..." is written to stderr and not stdout. | steve | 1998-05-26 | 1 | -2/+2 |
| | | | | PR: 6756 | ||||
* | Permit hex/octal parameters to cmp, to match what the manual page says. | jlemon | 1997-08-19 | 1 | -2/+2 |
| | | | | PR: 3850, 3855 | ||||
* | Correct usage string. Program name converted to bold in man page. | charnier | 1997-06-26 | 2 | -5/+7 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. |