summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsdiff.c
AgeCommit message (Expand)Author
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
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-02exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@Otto Moerbeek
2013-04-16remove wrong casts; ok millertTheo de Raadt
2010-12-06add missing header needed by futimes()Charles Longeau
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
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-04-26the message returned by usage() must fit on a 80-column displayIgor Sobrado
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative e...Niall O'Higgins
2006-09-22- explain diff_options (which i renamed from "diff options")Jason McIntyre
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-07-31Minor KNF.Ray Lai
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-06-04- initialise path pointers to NULL since error code checks for that.Niall O'Higgins
2006-05-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
2006-05-08err() and errx() should also exit with status 2;Xavier Santolaria
2006-05-08exit with status 2 after usage() too; pointed out by uwe@.Xavier Santolaria
2006-05-05- fix rcsdiff exit status on success/errors; now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-26prevent file races by obtaining an fd for the RCS file andJoris Vink
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink
2006-04-25fatal() -> err()/errx() as we try to not depend on heavy cvs_log().Xavier Santolaria
2006-04-24make the -r description match that in rcsmerge(1), as far as is possible;Jason McIntyre
2006-04-24be consistent in error messages for wrongly specified keyword substitutionXavier Santolaria
2006-04-21move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;Xavier Santolaria
2006-04-21remove overkill cvs_log() and rather use warn()/warnx().Xavier Santolaria
2006-04-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-14spacesTheo de Raadt
2006-04-14- don't append the extension if it's already there (PR 5076).Joris Vink
2006-04-13clean up temporary files when we finish running.Joris Vink
2006-04-13*** empty log message ***Ray Lai
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-10make sure we add the correct name mkstemp(3) creates for usJoris Vink
2006-04-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-04-06-z can take no argument.Xavier Santolaria
2006-03-30add temporary files to the worklist before creating them, this preventsJoris Vink
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-20delint; cvs_buf_write_stmp() will never return non-zero:Niall O'Higgins
2006-03-16Follow exit() with /* NOTREACHED*/ for lint.Ray Lai
2006-03-15- zap filename arg in rcsdiff_rev() since its not used.Niall O'Higgins
2006-03-08make openrcs use the worklist framework to keep track of temporary filesJoris Vink
2006-03-07-z support for RCS;Joris Vink
2006-03-06update usage();Jason McIntyre