summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff
AgeCommit message (Expand)AuthorFilesLines
2021-03-08Add some references, most of these were removed when we stopped buildingjsg1-3/+4
2020-11-01restore RCS id removed in 1.33jcs1-2/+2
2020-02-08correct Research Unix edition "appeared in" use in HISTORYjsg1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-8/+8
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error thederaadt1-2/+2
2019-06-28mkstemp() returns -1 on failurederaadt1-2/+2
2019-03-20remove incorrect escaping of '+', correctly escape '-', and garbage collect .Tnschwarze1-9/+6
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert2-4/+4
2017-08-28Fix exit value when diffing directories with missing files and the -Nmillert1-7/+11
2016-03-01Rectify line numbers for s/.// commands in ed-style diffs.natano1-3/+4
2015-12-29fix exit status on pledge(2) failure.gsoares1-2/+2
2015-11-24fix an error in the text; from donald allenjmc1-3/+3
2015-11-17Merge xmalloc.[ch] files across base, skipping OpenSSH for now.tobias1-7/+9
2015-11-12Remove xfree()'s prototype. tedu@ removed its definition a few weeksmmcc1-2/+1
2015-10-26no more TMPDIR;jmc1-5/+2
2015-10-26remove TMPDIR support. ok millerttedu3-33/+8
2015-10-13Replace our /^\.\././ expression with /.//. The term is simpler and hastobias1-2/+2
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-5/+5
2015-10-05Remove the non-standard -l flag that pipes the output through pr(1).millert6-152/+29
2015-10-05use different tame requests if TMPDIR is in env:semarie1-3/+8
2015-10-05If the -l flag is set, diff will fork/execve pr on a pipe. But otherderaadt1-1/+5
2015-09-25xmalloc/free wrappers don't need to support 20 year old non comformancetedu3-34/+20
2015-06-17Use strdup in xstrdup; from Fritjof Bornebusch.nicm1-5/+3
2015-04-29Change internal xrealloc() to a idiom-following xreallocarray().deraadt4-24/+16
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@millert2-3/+4
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt3-19/+22
2014-08-27Ensure diff -uw always produces valid output when one file doesn't endkspillner1-5/+9
2014-05-20Use errc/warnc to simplify code.guenther1-3/+3
2014-02-13TMPDIR is an extension;jmc1-4/+7
2013-08-19Fix bogus errx(2, NULL) usage; malloc() failure should use err(2, NULL).millert1-8/+8
2013-07-16where "-" represents stdin, just use Sq, not Fl, since it's not a flag;jmc1-3/+3
2013-01-20remove obsolete BUGS (cmp is not run internally); ok ottojmc1-18/+2
2012-11-29Change scandir()'s 'select' argument fromguenther1-3/+3
2012-07-08Switch diff(1) binary file detection from !(isprint() || isspace()) tostsp1-6/+3
2012-05-22Strip trailing slashes from directory in splice() beforemillert1-2/+6
2011-04-01Move an isqrt() call outside a macro, from Michael W Bombardieri.nicm1-6/+9
2011-02-03add a reference to the "An Algorithm for Differential File Comparison" paper;jmc1-2/+10
2010-11-14scandir() does not NULL-terminate the list of dirent structs so usemillert1-42/+39
2010-11-08getdirentries(2) should be avoided outside of libc so use scandir(3)millert1-115/+41
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *millert1-2/+2
2010-09-03add an EXIT STATUS section for /usr/bin;jmc1-4/+4
2010-08-18Add a cross reference to patch(1)schwarze1-6/+4
2010-08-04exit(2) on xcalloc failure. From Daniel Dickman <didickman () gmailray1-4/+4
2010-07-17Plug memory leak.ray1-3/+5
2010-07-16Simplify print_status by removing NULL handling.ray2-14/+12
2010-07-16Close FILEs when fork fails.ray1-2/+3
2010-07-16diff exits 2 on error, not 1.ray1-2/+2
2010-07-15cvs and rcs use diff_output() to print everything since it is notray1-52/+50
2010-07-15Remove unused arguments from check(). From cvs/rcs.ray1-4/+4
2010-07-14Return -1 on error as advertised.ray1-5/+4