summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/diff.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-10-16Quiet compiler warnings; as applied to usr.bin/cvs by millert@Okan Demirmen
2015-06-13Convert xfree to free. From Fritjof Bornebusch. ok deraadtNicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
2014-10-10Zap some stored values never read; From Fritjof Bornebusch; ok nicm@Otto Moerbeek
2013-05-16Switch rcsdiff(1) binary file detection from !(isprint() || isspace()) toStefan Sperling
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
2011-04-01Move an isqrt() call outside a macro, from Michael W Bombardieri.Nicholas Marriott
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2010-07-16Combine two diff_output lines into one, from diff.Ray Lai
2010-07-15Die immediately if pread fails. It's a fatal error so treat it asRay Lai
2010-07-15Use warnx instead of warn since errno wasn't set. From diff.Ray Lai
2010-07-15Sync with diff/diffreg.c r1.75:Ray Lai
2009-06-07More cvs/diff/rcs convergence:Ray Lai
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-07-03Rename rcs_diffreg() to diffreg().Ray Lai
2007-06-29Sync cvs/rcs diff code.Ray Lai
2007-06-28diff(1) sync, mostly spacing and moving crap around, except:Ray Lai
2007-06-28Some syncs with diff(1):Ray Lai
2007-05-30Remove cand structure (but not its definition).Ray Lai
2007-05-30Remove unused struct diff_arg.Ray Lai
2007-05-29Get rid of another useless variable, another difference between ourRay Lai
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-05-28Some spacing syncs with diff(1).Ray Lai
2007-05-28"in formation" -> "information"Ray Lai
2007-05-28Line up comments with the rest of the file, like in diff(1).Ray Lai
2007-03-27sync with espie@'s latest change to diff(1).Xavier Santolaria
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22Fix const inconsistencies, void pointer artithmetic;Xavier Santolaria
2006-09-27Plug memory leak.Ray Lai
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-08-14files_differ() should return -1 on error, according to comments. MakeRay Lai
2006-07-27spacingTheo de Raadt
2006-05-11Use fstat instead of stat, simplifie switch statement into ifRay Lai
2006-05-10Remove (size_t) casts on integer constants.Ray Lai
2006-05-05- fix rcsdiff exit status on success/errors; now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-26err() cleanup;Xavier Santolaria
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink