summaryrefslogtreecommitdiff
path: root/usr.bin/diff
AgeCommit message (Expand)Author
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
2010-07-15Remove unused arguments from check(). From cvs/rcs.Ray Lai
2010-07-14Return -1 on error as advertised.Ray Lai
2010-03-22Even though this cannot happen in the diff -r case,Ingo Schwarze
2010-02-21`-q' is an output option, hence it is mutually exclusive.Igor Sobrado
2009-11-09move mutually exclusive options (-c, -e, -f, -n and -u) to the right place.Igor Sobrado
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-07More cvs/diff/rcs convergence:Ray Lai
2009-06-06Oops, forgot to pass dflags to diffreg. Now the flags work again.Ray Lai
2009-06-06Pull changes from rcsdiff, similar to what was pulled into cvsdiff.Ray Lai
2009-02-08updates to IEEE Std 1003.1-2008;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-06-09- Change sizeof(type) to sizeof(*ptr).Ray Lai
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2007-05-29Bring in some changes from rcsdiff:Ray Lai
2007-03-18improve -p for C++ code: classes definition often haveMarc Espie
2007-03-01sort options/synopsis/usage();Jason McIntyre
2007-02-23print the header only once.Marc Espie
2007-02-22Defer printing of the per-file diff header until after the regexpTodd C. Miller