summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diff.c
AgeCommit message (Expand)Author
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
2003-06-26Fix temp file handling.Todd C. Miller
2003-06-26pretty code that prints usageTheo de Raadt
2003-06-26Fix temp file handling and deal with the case where we might need 2 temp files.Todd C. Miller
2003-06-26put all the flags and globals in diff.c, and declare externs in diff.hTed Unangst
2003-06-25Add a space after flags that take an argumnent in usage() since getopt()Todd C. Miller
2003-06-25De-uglify usageTodd C. Miller
2003-06-25Add unidiff support and try to pretty up usage() a bitTodd C. Miller
2003-06-25o use S_ISDIR instead of doing it by handTodd C. Miller
2003-06-25Fix getopt string for -DTodd C. Miller
2003-06-25o use getopt()Todd C. Miller
2003-06-25remove silly signal catcher, and just use done. ok deraadt@Ted Unangst
2003-06-25exit path signal race safeTheo de Raadt
2003-06-25cleanup. ansi, headers, correct prototypes, some safer string andTed Unangst
2003-06-25caldera licensesTheo de Raadt
2003-06-254.3reno diff. This is free because of the Caldera license. Nasty, but aTheo de Raadt