summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
AgeCommit message (Expand)Author
2008-11-09Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.Tobias Stoeckmann
2008-11-08Support for retrieving revisions from branches in branches was missing.Tobias Stoeckmann
2008-10-09cvs(1) uses a config file to know about the $OpenBSD$ expansion keyword,Theo de Raadt
2008-09-17try getlogin() to get the real username when comitting files as root.Reyk Floeter
2008-05-11Memory leak in rcs_delta_stats plugged.Tobias Stoeckmann
2008-02-02From src/usr.bin/cvs:Xavier Santolaria
2008-01-31Revert last patch and add this magic branch number only duringTobias Stoeckmann
2008-01-06Branches are separated with \n\t in GNU rcs/cvs.Tobias Stoeckmann
2008-01-06gnu cvs added a new keyword 'commitid', this diff adds just enough codeNikolay Sturm
2007-08-27typo in error msg; from Igor Zinovik.Xavier Santolaria
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-06-13value of 'author' in an rcs file is effectively a system username.Niall O'Higgins
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-05-17Don't free unused variable, from tbert.Ray Lai
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-01-02- fix support for checking out binary files.Niall O'Higgins
2006-12-21- plug memleak in rcs_parse_delta()Niall O'Higgins
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-08-23Add missing checks for EOF when parsing rcs file sections.Todd C. Miller
2006-08-07More strlcpy/strlcat -> snprintf/xasprintf cleanup.Ray Lai
2006-08-04Remove unnecessary strlcpy/strlcat.Ray Lai
2006-07-28Recalculate buffer length after each expansion.Ray Lai
2006-07-27Second try at adding binary file support to rcs_expand_keywords(),Ray Lai
2006-07-27unused variableTheo de Raadt
2006-07-27spacingTheo de Raadt
2006-07-21Revert; keywords did not expand.Ray Lai
2006-07-21Add binary file support to rcs_expand_keywords(), using BUFs insteadRay Lai
2006-07-11fix out of bound read in rcs_expand_keywords(); ok nialloMarkus Friedl
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-07-08- plug an old memory leak in patching code.Niall O'Higgins
2006-06-11- clean up rcs_expand_keywords() a little more.Niall O'Higgins
2006-06-11- zap unused variableNiall O'Higgins
2006-06-09- fix rcs_expand_keywords().Niall O'Higgins
2006-06-04- explicitly set some pointers to NULL since they are tested on error.Niall O'Higgins
2006-06-04- we can just use the 'sizdiff' variable instead of calling strlen(expbuf);Niall O'Higgins
2006-06-04- ensure fin pointer is not invalidated after reallocNiall O'Higgins
2006-06-04- don't forget to free data in rcs_expand_keywords()Niall O'Higgins
2006-06-04- fix off-by-one in rcs_expand_keywords()Niall O'Higgins
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-05-28Don't fill in the rd_locker if we are creating a new RCS file.Ray Lai
2006-05-27Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. NoRay Lai
2006-05-11first round of rcs_write() cleanup; prodded by joris@; input/OK ray@.Xavier Santolaria
2006-05-08check for rcs_diffreg() return value; OK ray@.Xavier Santolaria
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
2006-05-01- fix a case in rcs_getrev() handling of branches where variant was not beingNiall O'Higgins
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-26prevent file races by obtaining an fd for the RCS file andJoris Vink
2006-04-26err() cleanup;Xavier Santolaria