summaryrefslogtreecommitdiff
path: root/usr.bin/diff
AgeCommit message (Expand)Author
2012-11-29Change scandir()'s 'select' argument fromPhilip Guenthe
2012-07-08Switch diff(1) binary file detection from !(isprint() || isspace()) toStefan Sperling
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
2011-02-03add a reference to the "An Algorithm for Differential File Comparison" paper;Jason McIntyre
2010-11-14scandir() does not NULL-terminate the list of dirent structs so useTodd C. Miller
2010-11-08getdirentries(2) should be avoided outside of libc so use scandir(3)Todd C. Miller
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-08-18Add a cross reference to patch(1)Ingo Schwarze
2010-08-04exit(2) on xcalloc failure. From Daniel Dickman <didickman () gmailRay Lai
2010-07-17Plug memory leak.Ray Lai
2010-07-16Simplify print_status by removing NULL handling.Ray Lai
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
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
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