summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/cmp.c
AgeCommit message (Expand)Author
2024-10-09cmp: Check the status of stdout.Dag-Erling Smørgrav
2024-10-09cmp: Style and type issues.Dag-Erling Smørgrav
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2023-01-31cmp: Print a summary on SIGINFO.Dag-Erling Smørgrav
2021-10-21cmp: initialize limit to avoid stack garbage limitsKyle Evans
2021-09-29cmp: add -b, --print-bytesKyle Evans
2021-09-29cmp: add -i, --ignore-initial, an alternative to skip1/skip2 argsKyle Evans
2021-09-29cmp: add -n, --bytes to limit number of bytes to compareKyle Evans
2021-09-29cmp: accept SI suffixes for skip1 and skip2Kyle Evans
2021-01-10cmp: fix -s (silent) when used with skip offsetsEd Maste
2021-01-10cmp: use C99 bool for flagsEd Maste
2019-02-25Fix handling of rights on stdio streams, take two.Mark Johnston
2019-01-21Revert r343117.Mark Johnston
2019-01-17Fix handling of rights on stdio streams.Mark Johnston
2018-11-04capsicum: use a new capsicum helpers in toolsMariusz Zaborski
2018-06-19Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski
2018-05-02cmp(1): Provide some long optionsKyle Evans
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-10-07Restrict stdin if it's not in use.Mariusz Zaborski
2016-10-07Remove the duplicated code using Capsicum helpers.Mariusz Zaborski
2016-09-19Move sys/capsicum.h includes after types.h or param.hConrad Meyer
2016-09-19cmp(1): CapsicumifyConrad Meyer
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2005-08-23Add a -h option to tell cmp not to follow symbolic links.Brian Somers
2002-07-28ANSIify function definitions to avoid a warning.David Malone
2002-06-07No need to check for "-" explicitly in getopt() loop.Tim J. Robbins
2002-06-07Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)Tim J. Robbins
2002-03-22remove __PWarner Losh
2001-12-10Style improvements recommended by Bruce as a follow up to someDavid Malone
2001-12-02Turn on WARNS=2.Mark Murray
2001-11-05Make filenames const to avoid a few warnings.David Malone
2000-07-25Fix a bug introduced in rev 1.8, where special files ended upSheldon Hearn
2000-07-14Add the -z flag to check file sizes firstBrian Somers
2000-05-15Let cmp(1) grow in -x option to print differences in contemporarry hexPoul-Henning Kamp
1998-12-06Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs
1997-08-19Permit hex/octal parameters to cmp, to match what the manual page says.Jonathan Lemon
1997-06-26Correct usage string. Program name converted to bold in man page.Philippe Charnier
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1994-08-20I don't like what they did to cmp(1) in 4.4 Lite; now it whines allJordan K. Hubbard
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes