aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cmp/cmp.c
Commit message (Expand)AuthorAgeFilesLines
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-10/+0
* usr.bin: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory2023-07-071-1/+1
* cmp: Print a summary on SIGINFO.Dag-Erling Smørgrav2023-01-311-0/+14
* cmp: initialize limit to avoid stack garbage limitsKyle Evans2021-10-211-1/+1
* cmp: add -b, --print-bytesKyle Evans2021-09-291-2/+6
* cmp: add -i, --ignore-initial, an alternative to skip1/skip2 argsKyle Evans2021-09-291-1/+29
* cmp: add -n, --bytes to limit number of bytes to compareKyle Evans2021-09-291-5/+13
* cmp: accept SI suffixes for skip1 and skip2Kyle Evans2021-09-291-2/+12
* cmp: fix -s (silent) when used with skip offsetsEd Maste2021-01-111-1/+3
* cmp: use C99 bool for flagsEd Maste2021-01-111-13/+14
* Fix handling of rights on stdio streams, take two.Mark Johnston2019-02-251-35/+11
* Revert r343117.Mark Johnston2019-01-211-7/+16
* Fix handling of rights on stdio streams.Mark Johnston2019-01-171-16/+7
* capsicum: use a new capsicum helpers in toolsMariusz Zaborski2018-11-041-6/+5
* Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski2018-06-191-1/+1
* cmp(1): Provide some long optionsKyle Evans2018-05-021-1/+10
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Restrict stdin if it's not in use.Mariusz Zaborski2016-10-071-0/+8
* Remove the duplicated code using Capsicum helpers.Mariusz Zaborski2016-10-071-15/+4
* Move sys/capsicum.h includes after types.h or param.hConrad Meyer2016-09-191-1/+1
* cmp(1): CapsicumifyConrad Meyer2016-09-191-0/+37
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
* Add a -h option to tell cmp not to follow symbolic links.Brian Somers2005-08-231-5/+25
* ANSIify function definitions to avoid a warning.David Malone2002-07-281-4/+2
* No need to check for "-" explicitly in getopt() loop.Tim J. Robbins2002-06-071-5/+1
* Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)Tim J. Robbins2002-06-071-4/+4
* remove __PWarner Losh2002-03-221-1/+1
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-101-5/+6
* Turn on WARNS=2.Mark Murray2001-12-021-5/+6
* Make filenames const to avoid a few warnings.David Malone2001-11-051-1/+1
* Fix a bug introduced in rev 1.8, where special files ended upSheldon Hearn2000-07-251-1/+2
* Add the -z flag to check file sizes firstBrian Somers2000-07-141-4/+14
* Let cmp(1) grow in -x option to print differences in contemporarry hexPoul-Henning Kamp2000-05-151-2/+9
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-061-2/+2
* Permit hex/octal parameters to cmp, to match what the manual page says.Jonathan Lemon1997-08-191-2/+2
* Correct usage string. Program name converted to bold in man page.Philippe Charnier1997-06-261-1/+1
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
* I don't like what they did to cmp(1) in 4.4 Lite; now it whines allJordan K. Hubbard1994-08-201-8/+24
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+146