summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Expand)Author
2006-12-21- plug memleak in rcs_parse_delta()Niall O'Higgins
2006-11-18- update commentNiall O'Higgins
2006-11-13no magic, use defined RCS_LOCK_INVAL variable.Xavier Santolaria
2006-11-10Unlike GNU rcs, our co will not overwrite an existing file, evenTodd C. Miller
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative e...Niall O'Higgins
2006-09-27Add and correct comments, spacing.Ray Lai
2006-09-27Plug memory leak.Ray Lai
2006-09-25Remove debugging printf accidentally committed.Ray Lai
2006-09-22- explain diff_options (which i renamed from "diff options")Jason McIntyre
2006-09-22- handle deltatexts which don't end in a newline character. fixes PR #5241.Niall O'Higgins
2006-09-21nick a double space;Jason McIntyre
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2006-08-23use the correct variable in error and warning messagesJoris Vink
2006-08-23Add missing checks for EOF when parsing rcs file sections.Todd C. Miller
2006-08-16Improve rcs_buf_load() by setting errno appropriately on failure andRay Lai
2006-08-14files_differ() should return -1 on error, according to comments. MakeRay Lai
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-08-07Flush printf buffer before directly writing to STDIN_FILENO. PreventsRay Lai
2006-08-04Make -n flag refer to -N flag instead of the other way around, since theRay Lai
2006-08-04Remove unnecessary strlcpy/strlcat.Ray Lai
2006-08-02strlcpy/strlcat overload made deraadt@ sick; change to xasprintf.Ray Lai
2006-08-02rcs_buf_set(), rcs_buf_append, and rcs_buf_fappend should not returnRay Lai
2006-08-02Fix a lot of buffer overflows and make the code more binary safe.Ray Lai
2006-08-01Reduce rcs_buf_release() usage, improving binary support.Ray Lai
2006-07-31Minor KNF.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-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