summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/diff3.c
AgeCommit message (Expand)Author
2021-04-13Fix merging of files that lack a final \n at EOF after a block of common lines.Stefan Sperling
2020-06-26Fix merging of files that lack newlines for diff(3), OpenRCS, and OpenCVS.Stefan Sperling
2019-08-10Amend previous fix; joris@ fixed the same bug in OpenCVS's diff3.c r1.47.Stefan Sperling
2019-08-10Fix merge(1) of files which contain lines with leading dots.Stefan Sperling
2016-10-18Using bitwise OR along with two assignments in the conditional ofTodd C. Miller
2016-10-16Quiet compiler warnings; as applied to usr.bin/cvs by millert@Okan Demirmen
2016-08-26Pull in <time.h> for struct tm, used in rcs.hPhilip Guenther
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
2015-09-05Add brackets to clarify assignments that are the result of a test operator.Jonathan Gray
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
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2010-07-23Rename a bunch of variables and functions, removing the cvs_/rcs_Ray Lai
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-02-25Checking if a file is ASCII should only be done when diffing, becauseRay Lai
2008-03-02Make sure that temporary file has been successfully opened.Tobias Stoeckmann
2007-12-23increase the marker buffers, they are not big enough for hg mergeTed Unangst
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
2007-07-03Rename rcs_diffreg() to diffreg().Ray Lai
2007-06-30Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22Fix const inconsistencies, void pointer artithmetic;Xavier Santolaria
2007-01-11remove some un-needed buffer NUL-termination. in openrcs, diff3 is already N...Niall O'Higgins
2007-01-02- fix support for checking out binary files.Niall O'Higgins
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-08-11correctly handle merge(1) and rcsmerge(1) -e and -E flags; tests and OK ray@.Xavier Santolaria
2006-08-08let ed_patch_lines work with a c command that encompasses the last lineMarc Espie
2006-08-07More strlcpy/strlcat -> snprintf/xasprintf cleanup.Ray Lai
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-05-15missing bits for a working merge(1). Built and enabled.Xavier Santolaria
2006-05-10Remove (size_t) casts on integer constants.Ray Lai
2006-05-08check for rcs_diffreg() return value; OK ray@.Xavier Santolaria
2006-05-08fix error/verbose messages to match gnu/usr.bin/rcs when using rcsmerge(1).Xavier Santolaria
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
2006-05-03respect TMPDIR; OK ray@.Xavier Santolaria
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-27zap util.[ch] and move the content into rcsutil.[ch].Xavier Santolaria
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink