summaryrefslogtreecommitdiff
path: root/usr.bin/diff
AgeCommit message (Expand)Author
2003-07-31- Change the hash function to a simple multiplicative one. The oldOtto Moerbeek
2003-07-31o correct exit code when comparing stdin and stdin (a noop)Todd C. Miller
2003-07-29cleanTheo de Raadt
2003-07-27We need to initialize clen to 0 each time through diffreg() forTodd C. Miller
2003-07-27Correct computation of argsize when setting diffargs.Todd C. Miller
2003-07-27Start new sentence on a new line.Otto Moerbeek
2003-07-27- Use a heuristic to bound memory and cpu usage, at the cost ofOtto Moerbeek
2003-07-23better ascii test for fewer false negatives. ok millert@Ted Unangst
2003-07-22Add missing terminator to long options list.Todd C. Miller
2003-07-22Fixed the "dot alone on a line" bug.Todd C. Miller
2003-07-22Bring FILES section up to date.Todd C. Miller
2003-07-22Implement the -L and -T options from GNU diff.Todd C. Miller
2003-07-22Historically, when comparing two directories in -e mode, BSD diffTodd C. Miller
2003-07-22Don't print lines consisting solely of a dot ('.') in -e mode sinceTodd C. Miller
2003-07-21Historically, the "Only in" messages produced in dir modeTodd C. Miller
2003-07-21Add STANDARDS sectionTodd 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-21Expand change records array as needed; passes Otto's new regression test.Todd C. Miller
2003-07-17cc -O2 -pipe -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DDYN_ALLOC -c ...Todd C. Miller
2003-07-16Deal with files that lack a final newline before EOF (you naughtyTodd C. Miller
2003-07-15Fix line ranges for unidiffs. Problem noted by otto@Todd 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-08fix pasto in last commitTodd 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-06Use symbolic constants for output format.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-07-02diffh belongs in /usr/libexec/Todd C. Miller
2003-07-02Treat /dev/null specially; there is no need to make a temp file for it.Todd C. Miller
2003-06-28tweak;Jason McIntyre
2003-06-27-a to force ascii compare. ok millertTed Unangst
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-26Update with unidiff info and make FILES section fit reality.Todd C. Miller
2003-06-26Fix temp file handling and deal with the case where we might need 2 temp files.Todd C. Miller
2003-06-26off by one in size calculationVincent Labrecque
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