aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cmp/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* cmp: Check the status of stdout.Dag-Erling Smørgrav2024-10-091-3/+3
| | | | | | | | | | POSIX requires us to print an error message and exit non-zero if writing to stdout fails. This can only happen if sflag is unset. MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D47020
* usr.bin: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* cmp: Print a summary on SIGINFO.Dag-Erling Smørgrav2023-01-311-0/+4
| | | | | | | MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D38280
* cmp: add -b, --print-bytesKyle Evans2021-09-291-2/+2
| | | | | | | | This is compatible with GNU cmp. Reviewed by: bapt, markj (earlier version) Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32074
* cmp: add -n, --bytes to limit number of bytes to compareKyle Evans2021-09-291-3/+4
| | | | | | | | This is compatible with GNU cmp. Reviewed by: markj Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32072
* cmp: use C99 bool for flagsEd Maste2021-01-111-1/+1
| | | | | | | MFC after: 1 week Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28072
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Add missing static keywords to cmp(1)Ed Schouten2011-11-061-1/+1
| | | | Notes: svn path=/head/; revision=227156
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+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 Notes: svn path=/head/; revision=216370
* Add a -h option to tell cmp not to follow symbolic links.Brian Somers2005-08-231-0/+1
| | | | | | | | MFC after: 3 weeks Sponsored by: Sophos/ActiveState Notes: svn path=/head/; revision=149388
* remove __PWarner Losh2002-03-221-4/+4
| | | | Notes: svn path=/head/; revision=92920
* Make filenames const to avoid a few warnings.David Malone2001-11-051-4/+4
| | | | | | | | | Add FreeBSD tags. Reviewed by: cmp Notes: svn path=/head/; revision=86099
* Let cmp(1) grow in -x option to print differences in contemporarry hexPoul-Henning Kamp2000-05-151-1/+4
| | | | | | | format rather than the mixed decimal/octal format of -l. Notes: svn path=/head/; revision=60583
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+45
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590