Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-19 | Constrain the 2038 check to only when sizeof(time_t) == sizeof(int). | Theo de Raadt | |
Adding more powerful checking is too difficult. We'll fix this problem by moving to 64-bit time_t.. and once we do, we don't want this code to falsely trigger. ok millert | |||
2012-07-02 | simplify rcsnum parsing by using a fixed array without all the realloc | Ted Unangst | |
ok stsp | |||
2012-03-04 | In preparation for getline and getdelim additions to libc, rename getline() | Federico G. Schwindt | |
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech. | |||
2012-02-04 | Sync rcsparse between OpenCVS/OpenRCS. Spaces, no binary change. | Tobias Stoeckmann | |
2011-12-27 | Move some global variables/statics to locals, from Michael W | Nicholas Marriott | |
Bombardieri. | |||
2011-09-20 | Lose unused variable cvs_msg, from Michael W Bombardieri. | Nicholas Marriott | |
2011-06-03 | add missing header, needed by the use of struct tm | Charles Longeau | |
ok nicm@ xsa@ | |||
2011-05-20 | Remove a silly XXX for a bit of code that is only used once - no value | Nicholas Marriott | |
in making it a function. From Michael W Bombardieri. | |||
2011-05-04 | Fix a typo in a comment, from Michael W Bombardieri. | Nicholas Marriott | |
2011-05-02 | Fix bad return value check for rcsnum_cmp() | Charles Longeau | |
ok nickm@ xsa@ | |||
2011-04-20 | Remove some includes and defines that are no longer needed, from Michael | Nicholas Marriott | |
W Bombardieri. | |||
2011-04-20 | Trivial code simplifying, from Michael W Bombardieri. | Nicholas Marriott | |
2011-04-20 | Use -u when diff context is 3, from Michael W Bombardieri, tweaked by | Nicholas Marriott | |
millert. | |||
2011-04-01 | Move an isqrt() call outside a macro, from Michael W Bombardieri. | Nicholas Marriott | |
ok ray | |||
2011-03-27 | Get rid of some warnings, from Michael W Bombardieri. | Nicholas Marriott | |
2011-03-26 | - note that -T overrides TMPDIR, and a few other tweaks; | Jason McIntyre | |
from Michael W. Bombardieri -T stuff verified by nicm | |||
2010-11-11 | Nuke dead assignments and a dead function, from Michael W Bombardieri | Nicholas Marriott | |
using lint. | |||
2010-10-31 | init was passing a writable file descriptor into rcs_open which was then | Nicholas Marriott | |
failing to fdopen() it as readable. It doesn't need to pass in the fd at all, so just change it to pass -1 which makes cvs init work again. In fact, the fd should never need to be writable - it is only used for reading. RCS_WRITE triggers a rewrite on the file on rcs_close() but this is done by using a temporary and rename(2) (RCS_WRITE is a poor name for the flag). So while here, add a couple of comments to hopefully make it a little clearer. There is some confusion about how this is used in other places but checking those is a separate issue. with and ok tobias | |||
2010-10-29 | Nuke some unused variables and remove an unnecessary call to dirname(). | Nicholas Marriott | |
From Michael W Bombardieri via ray@. | |||
2010-10-28 | Change basep parameter of getdirentries() to be off_t *, not long * | Todd C. Miller | |
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@ | |||
2010-10-28 | Fix memory leak. | Tobias Stoeckmann | |
ok stsp, zinovik | |||
2010-10-27 | Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resulting | Tobias Stoeckmann | |
in a performance gain in OpenCVS in some "cvs update" scenarios. ok zinovik | |||
2010-10-23 | Use CVSROOT for "cvs import" - just ignore CVS/Root files. PR 6497 from | Nicholas Marriott | |
Michael W Bombardieri. ok tobias stsp | |||
2010-10-20 | Remove the need for rp_file in parser structure, instead keep only one | Tobias Stoeckmann | |
FILE pointer in RCSFILE. This fixes some ugliness in closing an fdopen()ed FILE and its underlying file descriptor. Notified by Joerg Sonnenberger <joerg at britannica dot bec to de> discussed with and ok nicm | |||
2010-10-20 | Prevent a NULL pointer dereference if rcsparse_deltatexts is called with | Tobias Stoeckmann | |
a revision not specified as delta in an RCS file. Spotted by and ok zinovik | |||
2010-10-15 | Fixed default branch handling and added support for branches in branches. | Tobias Stoeckmann | |
ok nicm | |||
2010-10-15 | Replaced RCS parser code with new rcsparse.{c,h}: | Tobias Stoeckmann | |
- be very strict about things we parse - print more information about errors if they occur - do not fatal() directly in parser, give caller a chance to react - fix an rcs design issue when it comes to login names tested by many on tech@ ok xsa | |||
2010-09-29 | Support for update -C, from zinovik. | Nicholas Marriott | |
ok tobias xsa | |||
2010-09-29 | Ensure that we always parse all deltas before expecting "desc" keyword. | Tobias Stoeckmann | |
ok nicm, zinovik | |||
2010-09-27 | Have cvs_file_walkdir() ignore CVS/ directories when walking a repository tree. | Joshua Elsasser | |
This fixes r* commands such as rlog against a repository which has somehow ended up containing CVS/Entries.Static files. ok nicm@ guenther@ | |||
2010-09-23 | Add cvs_mkdir() for recursive directory creation on import, based on a | Nicholas Marriott | |
diff from Michael W Bombardieri in PR 6398. tested by & ok jasper | |||
2010-09-19 | more wacky macro fixing; | Jason McIntyre | |
2010-09-11 | Fixed typo. | Tobias Stoeckmann | |
ok ray, zinovik | |||
2010-09-08 | Improve buf.c comments, from zinovik. | Nicholas Marriott | |
ok stsp | |||
2010-09-08 | Use SIZE_LEFT macro to determine left size instead of calculating with | Tobias Stoeckmann | |
pointers. ok zinovik | |||
2010-09-03 | add an EXIT STATUS section for /usr/bin; | Jason McIntyre | |
2010-09-03 | Rename RCSNUM's fd to rf_fd, complies to other variable names and | Tobias Stoeckmann | |
OpenRCS. ok xsa, zinovik | |||
2010-09-02 | rcsnum_parse() allocates already an RCSNUM struct, so it's not needed to | Tobias Stoeckmann | |
copy it into a newly allocated one (which is even a memory leak). ok zinovik | |||
2010-08-31 | Removed ra_uid, which was supposed to save the uid of a delta's author. | Tobias Stoeckmann | |
Is not used and not useful. ok xsa, zinovik | |||
2010-08-01 | change buf_release() prototype accordingly to buf.c | zinovik | |
unbreaks opencvs build | |||
2010-08-01 | change returning type to void like it is done in OpenRCS:buf_release() | zinovik | |
ok nicm@ | |||
2010-07-31 | introduce macro SIZE_LEFT and function buf_grow() from OpenRCS | zinovik | |
buf_grow() replaces macro BUF_GROW() ok nicm@, ray@ | |||
2010-07-31 | When looking for revision, break out of the loop at the end rather than | Nicholas Marriott | |
looping forever. This prevents the server going into an infinite loop when the repository is behind the checkout, but the behaviour is not correct (it is an error rather than ignoring the file), so mark with an XXX for now. Some underlying OpenCVS functions are too fatal()-happy and will probably need to be changed in order to fix this properly. Problem reported by sthen. ok xsa ray | |||
2010-07-31 | Checking for -1 as an overflow value is pretty absurd. Returning | Ray Lai | |
the unix epoch is equally absurd. Just return Start for now. We may add overflow checks in the future. OK xsa nicm | |||
2010-07-30 | Check date_parse return values. | Ray Lai | |
OK xsa | |||
2010-07-29 | Replace abort(), fatal(), and errx() with return -1, since date_parse | Ray Lai | |
returns -1 on error. OK nicm | |||
2010-07-28 | Support -U and -C to specify the context length for "cvs diff". | Nicholas Marriott | |
This doesn't alter cvs rdiff, where -U and -C are not support by GNU cvs. ok sthen zinovik | |||
2010-07-23 | Reduce variable/function name and whitespace differences between | Ray Lai | |
cvs/rcs. OK xsa zinovik | |||
2010-07-23 | Clean up struct tm handling. Instead of calling gmtime/localtime | Ray Lai | |
and making copies (among other weird dances), use reentrant versions. Not being able to tell the time is a fatal error, so die if that happens. Diff originally from nicm. OK nicm xsa | |||
2010-07-23 | Rename a bunch of variables and functions, removing the cvs_/rcs_ | Ray Lai | |
prefixes to reduce differences between cvs and rcs files. "yes!" nicm |