summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.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-08-16Improve rcs_buf_load() by setting errno appropriately on failure andRay Lai
2006-05-29Plug more memory leaks.Ray Lai
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-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-19fix printf + add missing printf when unlocking file (-u).Xavier Santolaria
2006-05-15missing bits for a working merge(1). Built and enabled.Xavier Santolaria
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
2006-05-01using *_FOREACH macros is really bad when we are actuallyJoris Vink
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-29Clarify man pages to match -t behavior and pretty up usage strings.Ray Lai
2006-04-28remove -h; ok xsaJason McIntyre
2006-04-27move -M into compat land; ok xsaJason McIntyre
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-25quote strings consistently.Xavier Santolaria
2006-04-25fatal() -> err()/errx() as we try to not depend on heavy cvs_log().Xavier Santolaria
2006-04-24be consistent in error messages for wrongly specified keyword substitutionXavier Santolaria
2006-04-24o Better match GNU behavior (a bare -t does NOT read from stdin,Ray Lai
2006-04-21move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;Xavier Santolaria
2006-04-21match former rcs implementation warning message if no options areXavier Santolaria
2006-04-21remove overkill cvs_log() and rather use warn()/warnx().Xavier Santolaria
2006-04-21switch -p handling to bitwise flags; OK ray@.Xavier Santolaria
2006-04-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-18Combine code to prompt user for input into a shared function,Ray Lai
2006-04-18Remove -h flag from rcs_getopt loop, which is not in GNU.Ray Lai
2006-04-17plug memory leak; OK ray@.Xavier Santolaria
2006-04-15dont stupidly duplicate code. make rlog use rcs_rev_select() and thusXavier Santolaria
2006-04-14- don't append the extension if it's already there (PR 5076).Joris Vink
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-13add support for the openrcs -o'range' option.Joris Vink
2006-04-13clean up temporary files when we finish running.Joris Vink
2006-04-13*** empty log message ***Ray Lai
2006-04-12Better match GNU behavior for rcs -l and rcs -u.Ray Lai
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-11Don't rcs_close() before fatal(). After much hesitation, joris@Ray Lai
2006-04-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-04-07change rcs_set_mtime() return type to void.Xavier Santolaria
2006-04-06-z can take no argument.Xavier Santolaria
2006-04-01Add rcs -l, rcs -u, and regression tests.Ray Lai
2006-04-01Keep cvs flags in `flags', rcs flags in `rcsflags' in rcsprog.h.Ray Lai
2006-03-28shudup rcs_set_description(), so regress tests are happy too.Xavier Santolaria
2006-03-27- properly implement GNU file modes. basically, checkout will inheritNiall O'Higgins
2006-03-27Fix and clean up -t flag:Ray Lai
2006-03-27Changes:Ray Lai
2006-03-27Plug a memory leak for all cvs_strsplit call sites; ok xsa@Patrick Latifi
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-23use fatal() in rcs_lock_setmode(); OK ray@.Xavier Santolaria