summaryrefslogtreecommitdiff
path: root/usr.bin/diff
AgeCommit message (Expand)Author
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
2006-05-05- no need to escape theseJason McIntyre
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-12-27+.Xr sdiff 1 ,Jason McIntyre
2005-06-15bye bye whiteoutsTodd C. Miller
2005-01-13Handle all isspace() chars the same for -w and -b. ok millert@ markus@Otto Moerbeek
2005-01-06clarify what -a does;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-11-27Use unsigned char for bytes that are fed to isxxx() functions, to improveOtto Moerbeek
2004-11-26Fix the getdirentries() loop memory handling and EOF detection.Otto Moerbeek
2004-10-20Change tabs in string constants to \t. "of course" deraadt@Otto Moerbeek
2004-10-02Keep calling getdirentries() until we no longer fill up our buffer.Todd C. Miller
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-03-16POSIX specifies that in directory mode device special files andTodd C. Miller
2004-01-25use new .St macro;Jason McIntyre
2004-01-07Document -p option. ok jmc@Otto 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-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-10-28prototype declared static, but function was not. add static to function.Anil Madhavapeddy
2003-10-07Fix printing of "Only in foo" when foo is "/" (trailing slash removalTodd C. Miller
2003-09-18 - move `-d' to comparison options, rather then output optionsJason McIntyre
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-07correct ascii file test. ok deraadt@ pb@Ted Unangst
2003-09-06restore undocumented -u# support for the old schoolers. :)Ted Unangst
2003-08-18fix spelling of --initial-tabDavid Krause
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-08-01anychange is no longer extern; millert okTheo de Raadt
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