summaryrefslogtreecommitdiff
path: root/usr.bin/diff
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-09-01consider two files sharing the same inode identicalAlexander Hall
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
2020-11-01restore RCS id removed in 1.33Joshua Stein
2020-02-08correct Research Unix edition "appeared in" use in HISTORYJonathan Gray
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error theTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-03-20remove incorrect escaping of '+', correctly escape '-', and garbage collect .TnIngo Schwarze
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2017-08-28Fix exit value when diffing directories with missing files and the -NTodd C. Miller
2016-03-01Rectify line numbers for s/.// commands in ed-style diffs.natano
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
2015-11-24fix an error in the text; from donald allenJason McIntyre
2015-11-17Merge xmalloc.[ch] files across base, skipping OpenSSH for now.Tobias Stoeckmann
2015-11-12Remove xfree()'s prototype. tedu@ removed its definition a few weeksmmcc
2015-10-26no more TMPDIR;Jason McIntyre
2015-10-26remove TMPDIR support. ok millertTed Unangst
2015-10-13Replace our /^\.\././ expression with /.//. The term is simpler and hasTobias Stoeckmann
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05Remove the non-standard -l flag that pipes the output through pr(1).Todd C. Miller
2015-10-05use different tame requests if TMPDIR is in env:Sebastien Marie
2015-10-05If the -l flag is set, diff will fork/execve pr on a pipe. But otherTheo de Raadt
2015-09-25xmalloc/free wrappers don't need to support 20 year old non comformanceTed Unangst
2015-06-17Use strdup in xstrdup; from Fritjof Bornebusch.Nicholas Marriott
2015-04-29Change internal xrealloc() to a idiom-following xreallocarray().Theo de Raadt
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-27Ensure diff -uw always produces valid output when one file doesn't endKent R. Spillner
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-02-13TMPDIR is an extension;Jason McIntyre
2013-08-19Fix bogus errx(2, NULL) usage; malloc() failure should use err(2, NULL).Todd C. Miller
2013-07-16where "-" represents stdin, just use Sq, not Fl, since it's not a flag;Jason McIntyre
2013-01-20remove obsolete BUGS (cmp is not run internally); ok ottoJason McIntyre
2012-11-29Change scandir()'s 'select' argument fromPhilip Guenthe
2012-07-08Switch diff(1) binary file detection from !(isprint() || isspace()) toStefan Sperling
2012-05-22Strip trailing slashes from directory in splice() beforeTodd C. Miller
2011-04-01Move an isqrt() call outside a macro, from Michael W Bombardieri.Nicholas Marriott
2011-02-03add a reference to the "An Algorithm for Differential File Comparison" paper;Jason McIntyre
2010-11-14scandir() does not NULL-terminate the list of dirent structs so useTodd C. Miller
2010-11-08getdirentries(2) should be avoided outside of libc so use scandir(3)Todd C. Miller
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-08-18Add a cross reference to patch(1)Ingo Schwarze
2010-08-04exit(2) on xcalloc failure. From Daniel Dickman <didickman () gmailRay Lai
2010-07-17Plug memory leak.Ray Lai
2010-07-16Simplify print_status by removing NULL handling.Ray Lai
2010-07-16Close FILEs when fork fails.Ray Lai
2010-07-16diff exits 2 on error, not 1.Ray Lai
2010-07-15cvs and rcs use diff_output() to print everything since it is notRay Lai