summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsdiff.c
AgeCommit message (Expand)Author
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
2006-03-06move compat flags into a STANDARDS section;Jason McIntyre
2006-03-06fix output to mimic gnu/usr.bin/rcs.Xavier Santolaria
2006-03-06many spacing cleanupsTheo de Raadt
2006-03-05now that rcs_getrev() isn't doing keyword expansion anymore and rcsdiff(1)Niall O'Higgins
2006-01-05cleanup, move log.h and rcs.h inclusion into rcsprog.h;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-27- implement lazy-parsing of rcs files, that is only parse as much as weNiall O'Higgins
2005-12-20spread the use of fatal();Xavier Santolaria
2005-12-10- its wrong to use exit() here; return instead.Niall O'Higgins
2005-12-05kill unused var;Xavier Santolaria
2005-12-01- fix up context and unified diff output in both open rcs and open cvs soNiall O'Higgins
2005-11-29consistency in variables naming;Xavier Santolaria
2005-11-28sync usage() for `-xsuffixes';Xavier Santolaria