summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diff.c
AgeCommit message (Expand)Author
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
2015-10-26remove TMPDIR support. ok millertTed Unangst
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-04-29Change internal xrealloc() to a idiom-following xreallocarray().Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2010-07-16Simplify print_status by removing NULL handling.Ray Lai
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
2007-05-29Bring in some changes from rcsdiff:Ray Lai
2007-03-01sort options/synopsis/usage();Jason McIntyre
2004-12-09If the -L option is specified twice, use it for the second filenameTodd C. Miller
2004-12-07advancing argv twice doesn't make it better.Marc Espie
2004-06-20Implement -I option: ignore changes matching a set of regexes. FromOtto Moerbeek
2004-03-16POSIX specifies that in directory mode device special files andTodd C. Miller
2004-01-07Implement -p option.Otto Moerbeek
2003-10-07Fix printing of "Only in foo" when foo is "/" (trailing slash removalTodd C. Miller
2003-09-07Make -number be an error (similar to my change in grep.c); OK tedu@Todd C. Miller
2003-09-07 - add -P to SYNOPSISJason McIntyre
2003-09-07try again at -u#. ok deraadt@Ted Unangst
2003-09-06restore undocumented -u# support for the old schoolers. :)Ted Unangst
2003-08-18fix spelling of --initial-tabDavid Krause
2003-07-29cleanTheo de Raadt
2003-07-27Correct computation of argsize when setting diffargs.Todd C. Miller
2003-07-27- Use a heuristic to bound memory and cpu usage, at the cost ofOtto Moerbeek
2003-07-22Add missing terminator to long options list.Todd C. Miller
2003-07-22Implement the -L and -T options from GNU diff.Todd C. Miller
2003-07-21Don't print a trailing '/' in foo when printing "Only in foo: bar"Todd C. Miller
2003-07-21Fix printing of status when not in -l mode which was broken when theTodd C. Miller
2003-07-21a little KNFHenning Brauer
2003-07-21POSIX-compliant output when there are two paths w/ the same name butTodd C. Miller
2003-07-09Unlink temp file as soon as it is opened and return a FILE * forTodd C. Miller
2003-07-09Re-implement -l flag; diff -l now works correctly in non-directoryTodd C. Miller
2003-07-08o Avoid a temp file if using stdin and stdin is redirected from a regular fileTodd C. Miller
2003-07-06Add -q option from GNU diffTodd C. Miller
2003-07-06Implement -P from GNU diff (like -N but only for files that are missingTodd C. Miller
2003-07-06Some fairly major changes:Todd C. Miller
2003-07-04Accept but ignore -h for backwards compat like GNU diff does.Todd C. Miller
2003-07-04Kill non-standard -l option as discussed with tedu@Todd C. Miller
2003-07-04Kill diff -h, we don't use or want diffh. Discussed w/ tedu@Todd C. Miller
2003-07-04Some cosmetic fixes:Todd C. Miller
2003-06-27kill a warning: include <string.h>David Krause
2003-06-26Remove cruft; We don't have the -I, -1 or -2 options anymore so we don'tTodd C. Miller
2003-06-26Fix -r flag that was broken during getopt() conversion--whoops.Todd C. Miller