Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-03 | Use xasprintf and xfree. | Ray Lai | |
``But i thought it already went in...'' xsa@ | |||
2006-05-01 | - fix a case in rcs_getrev() handling of branches where variant was not being | Niall O'Higgins | |
increased and thus no progress could be made in the loop. bug noticed in rcsdiff(1) by sturm@ ok joris@ | |||
2006-04-29 | Remove dead code. | Ray Lai | |
OK niallo@ | |||
2006-04-27 | document revisions and state; ok xsa | Jason McIntyre | |
2006-04-25 | check rcs_head_set() return value. | Xavier Santolaria | |
2006-04-20 | change cvs_log() and cvs_vlog() return type to void; OK niallo@. | Xavier Santolaria | |
2006-04-19 | keyword section is in rcs(1) now; | Jason McIntyre | |
2006-04-19 | move the keyword substitution section from cvs(1) to rcs(1): | Jason McIntyre | |
this keeps the docs correct, and according to xsa is the correct place for it anyway... ok xsa niallo | |||
2006-04-17 | Remove unused variable. | Ray Lai | |
Found by lint. OK joris@ | |||
2006-04-14 | - don't append the extension if it's already there (PR 5076). | Joris Vink | |
- show magic branches in rlog (thanks for that nicer hack niall). - correct output in rcsdiff, so we perfectly match gnu's all these bugs were found by sturm@ while he was using cvsweb (which uses the RCS tools). "it is in my view that you should put it in" niallo@ | |||
2006-04-14 | - swap a hack for a slightly nicer hack using a global variable. this avoids | Niall O'Higgins | |
adding a really nasty hack to make some upcoming rlog fixes from joris work. ok joris@ | |||
2006-04-14 | spacing | Theo de Raadt | |
2006-04-14 | more nasty spaces go bye bye | Theo de Raadt | |
2006-04-14 | remove a metric buttload of excessive () | Theo de Raadt | |
no binary change; ok ray | |||
2006-04-13 | Change rcs_parse_init() to return void, since it always returned 0. | Ray Lai | |
Remove unused variables found by lint. Some parts OK xsa@, ``throw it in :)'' joris@ | |||
2006-04-13 | add support for the openrcs -o'range' option. | Joris Vink | |
-o allows users to delete revisions in the specified RCS files. example: rcs -o1.4:1.6 foo deletes revisions 1.4 - 1.6 rcs -o1.3 foo deletes revision 1.3 joint work with niallo@ okay niallo@ | |||
2006-04-13 | fix -z option for openrcs, this was broken by xsa | Joris Vink | |
when he yanked the code out of rcs.c and placed it in rcstime.c. struct tm ltb, *tb; tb = <b; return (tb); isn't really the most perfect idiom to return a value to the caller, now is it? as a bonus -z for rlog now works too. okay niallo@ | |||
2006-04-13 | fix the obviously broken cvs_buf_set(), so we don't end up | Joris Vink | |
getting our buffer reset to 0 (empty) all the time. i noticed this when i was trying to fix -z for keyword expansion. sigh. okay niallo@ | |||
2006-04-13 | Add error checking for vasprintf. Stylistic suggestions from xsa@. | Ray Lai | |
OK xsa@ | |||
2006-04-12 | Better match GNU behavior for rcs -l and rcs -u. | Ray Lai | |
Save 2 bytes of newlines. OK joris@ | |||
2006-04-12 | yet another missing break; | Xavier Santolaria | |
2006-04-12 | missing break; "Yeah, obvious" ray@. | Xavier Santolaria | |
2006-04-12 | check for inflateReset() and deflateReset() return values; OK niallo@. | Xavier Santolaria | |
2006-04-12 | xmalloc(); memset(); -> xcalloc(); | Ray Lai | |
OK xsa@ | |||
2006-04-11 | Don't close() before fatal(). | Ray Lai | |
OK joris@, niallo@, and xsa@. | |||
2006-04-11 | Change cvs_buf_grow() to return void, since it cannot fail, and | Ray Lai | |
just use xrealloc, since it handles the case of an unallocated buffer anyway. (b->cb_buf should be NULL if the space is unallocated.) ``Tested & looks OK to'' niallo@. | |||
2006-04-10 | make sure we add the correct name mkstemp(3) creates for us | Joris Vink | |
to the worklist of temporary files. this way we definatly don't leave any files behind in /tmp. tested & okay niallo@ | |||
2006-04-10 | - use fchmod() instead of chmod() in cvs_buf_write_stmp(), makes | Niall O'Higgins | |
it like cvs_buf_write() - print warning on fchmod() failure (suggested by ray) ok joris@ ray@ | |||
2006-04-10 | rcs_kflag_usage() is not used by usr.bin/rcs; OK joris@. | Xavier Santolaria | |
2006-04-10 | sync comments with reality. | Xavier Santolaria | |
2006-04-10 | change rcs_kwexp_set() return type to void and simplify its use. OK niallo@. | Xavier Santolaria | |
2006-04-06 | cvs_buf_copy() and cvs_buf_peek() are not used by usr.bin/rcs; OK niallo@. | Xavier Santolaria | |
2006-04-06 | rcsnum_setsize() will never return non-zero; change its return type to void. | Xavier Santolaria | |
2006-04-05 | Use variable names for sizeof, remove casts in front of xmalloc, | Ray Lai | |
use xcalloc and xstrdup where appropriate, and other stuff. OK joris@ | |||
2006-04-02 | some characters are in fact allowed in symbol names, don't freak | Joris Vink | |
out when we encounter them, but handle them correctly. fixes an issue i ran into when running opencvs update on my local tree; | |||
2006-04-02 | Enable DEBUG=-g -ggdb for rcs, move -g -ggdb out of CFLAGS for cvs. | Ray Lai | |
Line up flags while I'm at it. OK to add DEBUG flags to rcs niallo@. | |||
2006-04-02 | spacing; | Joris Vink | |
2006-04-02 | be more alert for string truncation in cvs_initlog() | Joris Vink | |
2006-04-01 | fix some bugs that lint discovered for us. | Joris Vink | |
ok niallo@ | |||
2006-04-01 | don't use mode_t with va_arg(), use int instead and cast it later to | Joris Vink | |
mode_t. doing it the other way around isn't portable as mode_t may vary from int on some systems to short on others. noticed by deraadt@ | |||
2006-04-01 | cvs_initlog() returns a value that is never used, zap it. | Joris Vink | |
2006-04-01 | improve import a bit: | Joris Vink | |
- create directory and files with the correct permissions - correctly add the branch revision to the branch list of the head revision | |||
2006-03-30 | hmm, let's not use fatal() when we cannot find a branch instead return NULL | Joris Vink | |
so the caller can identify the branch is not there and take correct action. | |||
2006-03-30 | zap unused variable, niallo@ noticed | Joris Vink | |
2006-03-30 | first part of supporting branches in openrcs. right now we can only | Joris Vink | |
check them out. commit is not working yet, but will be soon. tested by myself and ray@ okay ray@ | |||
2006-03-30 | Add rlog -r[REV1][:][REV2] support | Ray Lai | |
From Pierre-Yves Ritschard. OK niallo@ | |||
2006-03-30 | - Comment fixes. | Ray Lai | |
- int rcsnum_cpy() -> void rcsnum_cpy(). - Check for overflow in rcsnum_cpy(). OK niallo@ | |||
2006-03-29 | Yet more lint: | Ray Lai | |
- Explicitly test for -1 from read(2) and write(2). - Change negative parameters to 0 for rcsnum_cmp(). (I think xsa@ had a patch for this earlier.) - Remove unused variables. - Changed return types to void if we only return one value. - Fix possible one-character truncation in rcs_deltatext_set(). - Use memcpy() to copy u_char arrays. - Use ptrdiff_t to hold pointer differences. - int -> size_t for sizeof/strlen ``looks fine'' xsa@ | |||
2006-03-28 | Finally. Basically, rcs_parse_delta() doesn't understand that | Ray Lai | |
sometimes there are no revisions, and that it is not an error. This makes it so that if rcs_parse_delta is called and the only thing that is found is the description, we know that there are no more revisions. Fixes ``rcs -i file; rlog file''. OK xsa@ | |||
2006-03-28 | xmalloc(num * size) -> xcalloc(num, size) | Ray Lai | |
asprintf -> xasprintf Remove asprintf check, which was non-portable anyway. ``okidoki'' xsa@ |