summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diffreg.c
AgeCommit message (Expand)Author
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
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
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-07More cvs/diff/rcs convergence:Ray Lai
2009-06-06Pull changes from rcsdiff, similar to what was pulled into cvsdiff.Ray Lai
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-29Bring in some changes from rcsdiff:Ray Lai
2007-03-18improve -p for C++ code: classes definition often haveMarc Espie
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
2006-02-22Append two string using strlcpy()/strlcat() instead of snprintf() toOtto Moerbeek
2006-02-16Strip newline from lines used with -I, otherwise ^$ will match allOtto Moerbeek
2005-01-13Handle all isspace() chars the same for -w and -b. ok millert@ markus@Otto Moerbeek
2004-12-09If the -L option is specified twice, use it for the second filenameTodd C. Miller
2004-11-27Use unsigned char for bytes that are fed to isxxx() functions, to improveOtto Moerbeek
2004-10-20Change tabs in string constants to \t. "of course" deraadt@Otto Moerbeek
2004-09-14use sizeof(struct cand) instead of defining an unused cand object, andTheo de Raadt
2004-06-20Implement -I option: ignore changes matching a set of regexes. FromOtto Moerbeek
2004-06-18If a new hunk immediately follows the previous one, merge themOtto Moerbeek
2004-01-07Implement -p option.Otto Moerbeek
2003-11-22Fix diff -q exit value which was broken in last commit.Todd C. Miller
2003-11-21Fix broken assumption that a file must contain differences if files_differ()Todd C. Miller
2003-11-10Din't print the "No newline at end of file" to inline (ie: to stdout)Todd C. Miller
2003-10-28prototype declared static, but function was not. add static to function.Anil Madhavapeddy
2003-09-07correct ascii file test. ok deraadt@ pb@Ted Unangst
2003-08-13Based on what otto@ said on icb. The expensive thing in diff isTodd C. Miller
2003-08-08Guess the number of lines in a file and use that number for initialOtto Moerbeek
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-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-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-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