summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Expand)Author
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-27Not were we allocating memory for a pointer array, it wasn't even forRay Lai
2006-07-27unused variableTheo de Raadt
2006-07-27spacingTheo de Raadt
2006-07-27unused variableTheo 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-08rcs_splitlines() can never return NULL, so don't check for it.Ray Lai
2006-07-08- plug an old memory leak in patching code.Niall O'Higgins
2006-07-04- plug a memory leakNiall 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- initialise path pointers to NULL since error code checks for that.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-06-02various spelling fixesDavid Krause
2006-06-02- at end of checkin_main loop, reset pb.newrev. fixes a problem with checkinNiall O'Higgins
2006-06-01- rcs_buf_release() has no need for u_char since it returns void *Niall O'Higgins
2006-06-01- zap dangling macro, will be replaced with a function later.Niall O'Higgins
2006-05-29Plug more memory leaks.Ray Lai
2006-05-29- sizeof(struct tm) -> sizeof(*tb)Niall O'Higgins
2006-05-29- zap unrequired casts for rcs_buf_release().Niall O'Higgins
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay Lai
2006-05-28Move -A<oldfile> handling into separate chunk of code. This alsoRay Lai
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-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-27rcs_choosefile() no longer returns char *, it returns a fileRay Lai
2006-05-19fix printf + add missing printf when unlocking file (-u).Xavier Santolaria
2006-05-17yyerror() little cleanupXavier Santolaria
2006-05-17fix printf'sXavier Santolaria
2006-05-15.Xr merge(1)Xavier Santolaria
2006-05-15oopps, missing \ at EOL.Xavier Santolaria
2006-05-15missing bits for a working merge(1). Built and enabled.Xavier Santolaria
2006-05-14warnx(); return(); --> errx();Xavier Santolaria
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-11Use fstat instead of stat, simplifie switch statement into ifRay Lai
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-11first round of rcs_write() cleanup; prodded by joris@; input/OK ray@.Xavier Santolaria
2006-05-10starting bits for merge(1) replacement. Not built/linked yet.Xavier Santolaria
2006-05-10treat first file passed as argument only; issue a warning for others.Xavier Santolaria
2006-05-10Remove (size_t) casts on integer constants.Ray Lai