Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-06 | strictly check rcsnum_cmp() return against -1. | Niall O'Higgins | |
fixes a bug in ci -r from Pierre Riteau <pierre.riteau at free.fr> via ray@ | |||
2007-07-03 | Rename rcs_diffreg() to diffreg(). | Ray Lai | |
OK joris@ | |||
2007-06-30 | Sync revisions and time buffers size to be consistent with each others. | Xavier Santolaria | |
Simplifies further size tweaks if needed. OK ray@. | |||
2007-06-26 | allow ci -N<tag name> even when no changes. mimics GNU behaviour. | Niall O'Higgins | |
based on a diff from Tero Koskinen <tero.koskinen at iki.fi> ok joris@ | |||
2007-06-12 | Allow checkin without locking (after rcs -U). Matches GNU's behaviour. | Xavier Santolaria | |
Problem reported by itojun@. Tests itojun@; OK niallo@. | |||
2007-04-26 | replace tabs by spaces in the message returned by usage() | Igor Sobrado | |
ok by jmc@, niallo@, and xsa@ | |||
2007-03-15 | When commiting multiple files with ci, the flags from the previous | Alexander Bluhm | |
files affected the later ones. ok niallo@ xsa@ | |||
2007-03-03 | make this modern C | Theo de Raadt | |
2007-02-27 | As done in OpenCVS, general includes cleanup sweep. OK otto@. | Xavier Santolaria | |
2007-02-22 | If a ,suffix file is given as an arg to ci and co, strip it. Avoids | Otto Moerbeek | |
potential disasters. Initial diff from niallo@, ok niallo@ joris@ | |||
2007-02-14 | sync some manual page entries with actual usage. | Niall O'Higgins | |
ok jmc@, xsa@ mostly From: Igor Sobrado <igor at string1.ciencias.uniovi.es> | |||
2007-01-15 | When checking in multiple files, if no log message is entered for | Todd C. Miller | |
a file, don't prompt the user to reuse the (non-existent) log message for the next. Makes ci behave like the GNU version. OK xsa@, joris@, niallo@ | |||
2006-12-23 | Spelling. | Kenneth R Westerback | |
'preceeding' -> 'preceding' 'preceeds' -> 'precedes' 'preceeded' -> 'preceded' | |||
2006-11-18 | - update comment | Niall O'Higgins | |
2006-11-09 | Simplify stripping of write bits from file mode. | Todd C. Miller | |
Add support for reusing the checkin message for multiple files, ala GNU Fix the message when you abort a checkout and the file was not writable. OK joris@ niallo@ | |||
2006-09-27 | Add and correct comments, spacing. | Ray Lai | |
OK niallo@. | |||
2006-09-21 | Add support to rcsdiff for all the other diff flags that | Todd C. Miller | |
are pertinent to files (not directories) and that do not conflict with rcsdiff-specific flags. OK xsa@ | |||
2006-08-23 | use the correct variable in error and warning messages | Joris Vink | |
2006-08-16 | Improve rcs_buf_load() by setting errno appropriately on failure and | Ray Lai | |
never print errors or quit on error. Fix usages of rcs_buf_load() and rcs_set_description. Also plug an fd leak. OK xsa@ | |||
2006-08-02 | strlcpy/strlcat overload made deraadt@ sick; change to xasprintf. | Ray Lai | |
OK niallo@ | |||
2006-08-02 | Fix a lot of buffer overflows and make the code more binary safe. | Ray Lai | |
Also reduce a lot of redundant for() loops. OK niallo@ | |||
2006-07-27 | unused variable | Theo de Raadt | |
2006-07-08 | Remove file mode argument from {cvs|rcs}_buf_write_stmp(). We | Ray Lai | |
always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago. | |||
2006-06-03 | - correctly handle binary files; say bye bye to using c strings for deltatexts. | Niall O'Higgins | |
"slap it in" joris@ | |||
2006-06-02 | various spelling fixes | David Krause | |
2006-06-02 | - at end of checkin_main loop, reset pb.newrev. fixes a problem with checkin | Niall O'Higgins | |
of multiple files. reported by fgsch@ ok joris@ | |||
2006-05-29 | Plug more memory leaks. | Ray Lai | |
OK joris@ | |||
2006-05-29 | - zap unrequired casts for rcs_buf_release(). | Niall O'Higgins | |
2006-05-27 | Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(), | Ray Lai | |
handling exceptions oddly. OK joris@ | |||
2006-05-17 | fix printf's | Xavier Santolaria | |
2006-05-11 | fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs. | Xavier Santolaria | |
2006-05-10 | Remove (size_t) casts on integer constants. | Ray Lai | |
We should not cover up lint's shortcomings, especially if they no longer exist. ``This is definately good.'' niallo@. | |||
2006-05-09 | Remove /* NOTREACHED */ comments, now that lint is smart about | Ray Lai | |
__dead. I never should have put them there. OK xsa@. | |||
2006-05-08 | check for rcs_diffreg() return value; OK ray@. | Xavier Santolaria | |
2006-05-05 | o GNU ci returns 0 when a file is reverted (co -l file; ci file). | Ray Lai | |
o Don't unlock file after revert. o Fix spelling. Passes extra tests in GNU rcstest. OK niallo@. | |||
2006-05-04 | finish work wrt TMPDIR; use xasprintf() to simplify code while in there; | Xavier Santolaria | |
"looks fine" ray@. | |||
2006-04-29 | o Simplify ci by using strchr and strcspn instead of custom loops. | Ray Lai | |
o Search for the ending `$' until the end of the line instead of the end of the string. OK niallo@ and xsa@, possibly joris@. | |||
2006-04-29 | Check return values for all strlcpy, and strlcat calls. | Ray Lai | |
OK xsa@ and probably others. | |||
2006-04-29 | Clarify man pages to match -t behavior and pretty up usage strings. | Ray Lai | |
OK xsa@ and jmc@. | |||
2006-04-29 | Make ci store gmtime instead of localtime in RCS files, like GNU. | Ray Lai | |
OK xsa@ | |||
2006-04-26 | prevent file races by obtaining an fd for the RCS file and | Joris Vink | |
do our operations on that, this is safe and guarantees we can operate on the file until we close(2) it. a fix is coming for the remaining races in our diff code. okay niallo@ and ray@ | |||
2006-04-26 | fork our code we shared between openrcs/cvs into the openrcs dir. | Joris Vink | |
this was starting to become inhuman to maintain without ugly ugly hacks in the shared code, and it will be easier to make specific changes for openrcs without touching the soon-to-be-replaced opencvs code. | |||
2006-04-25 | quote strings consistently. | Xavier Santolaria | |
2006-04-25 | fatal() -> err()/errx() as we try to not depend on heavy cvs_log(). | Xavier Santolaria | |
OK joriski. | |||
2006-04-25 | style; | Xavier Santolaria | |
2006-04-24 | prevent a race by keeping an fd for the workfile around until | Joris Vink | |
we are finished with it. first one of many to come... okay ray@ | |||
2006-04-24 | o Better match GNU behavior (a bare -t does NOT read from stdin, | Ray Lai | |
unlike rcs). o Share code with rcs by moving rcs_set_description() to rcsutil.c. o Change description prompt from #define to const char *. OK xsa@ | |||
2006-04-21 | move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; | Xavier Santolaria | |
"the voices in my head say OK!" joris@. | |||
2006-04-21 | remove overkill cvs_log() and rather use warn()/warnx(). | Xavier Santolaria | |
OK ray@ and discussed with joris@. | |||
2006-04-19 | switch -q handling to bitwise flags; OK ray@ niallo@. | Xavier Santolaria | |