summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsutil.c
AgeCommit message (Expand)Author
2010-12-06add missing header needed by futimes()Charles Longeau
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
2010-09-08Set rcs_suffixes to default value on initialization.Tobias Stoeckmann
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2008-05-10properly free suffixes.Joris Vink
2008-01-04remove unused functionCharles Longeau
2007-07-19Sync with cvs:Ray Lai
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22If a ,suffix file is given as an arg to ci and co, strip it. AvoidsOtto Moerbeek
2007-02-22Fix const inconsistencies, void pointer artithmetic;Xavier Santolaria
2007-01-11remove some un-needed buffer NUL-termination. in openrcs, diff3 is already N...Niall O'Higgins
2007-01-10Clear EOF before prompting user for input.Ray Lai
2007-01-02- fix support for checking out binary files.Niall O'Higgins
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative e...Niall O'Higgins
2006-09-25Remove debugging printf accidentally committed.Ray Lai
2006-09-22- handle deltatexts which don't end in a newline character. fixes PR #5241.Niall O'Higgins
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2006-08-16Improve rcs_buf_load() by setting errno appropriately on failure andRay Lai
2006-07-08rcs_splitlines() can never return NULL, so don't check for it.Ray Lai
2006-07-04- plug a memory leakNiall O'Higgins
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay 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-09Remove unused variable leftover from race condition cleanup.Ray Lai
2006-05-08Use warnx() when errno is not set.Ray Lai
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-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-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