Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-13 | Remove unused variable. | Ray Lai | |
Found by lint. OK xsa@ | |||
2006-04-13 | Currently rcs_getopt spits out a generic error message if you do | Ray Lai | |
`ci -m file'. This changes it so if -m is given without an argument a customized error message is printed. While I was there I sorted the optstring according to style(9). ``Oh, I see it now.'' niallo@ | |||
2006-04-13 | clean up temporary files when we finish running. | Joris Vink | |
"cool" niallo@ | |||
2006-04-13 | fix some typos | Niall O'Higgins | |
2006-04-13 | correctly handle RCS files without any revisions; | Joris Vink | |
original diff from ray@, crafted into shape by myself. okay ray@ | |||
2006-04-13 | *** empty log message *** | Ray Lai | |
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 | use "/bypass" instead of "/permit" when showing bypass flows | Hans-Joerg Hoexer | |
ok henning claudio | |||
2006-04-12 | spaces | Theo de Raadt | |
2006-04-12 | Clean up <rev> handling. Whenever a revision is specified after a | Ray Lai | |
flag, it calls one of two new functions: rcs_setrevstr() or rcs_setrevstr2(). rcs_setrevstr() sets a string to another string, and complains if it was set more than once. rcs_setrevstr2() takes two strings, sets one after the other, and fatal()s if more than two strings were given. All <rev> handling is now done in the loop that goes through each argv. This is necessary for parsing symbols, which will be much easier after this. Along the way a lot of memory leaks were cleaned up. There is one area where rcs_set_rev() is called, which allocates a RCSNUM and stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free() it. I put an /* XXX */ comment there for now. Passes regression tests and the code is less complicated in some ways (to me). Suggestions and OK xsa@ | |||
2006-04-12 | xmalloc(); memset(); -> xcalloc(); | Ray Lai | |
OK xsa@ | |||
2006-04-12 | Improve error message. | Ray Lai | |
Found by Florin Iamandi <florin dot i at tiscali dot it>. OK tedu@ and deraadt@ | |||
2006-04-11 | Don't rcs_close() before fatal(). After much hesitation, joris@ | Ray Lai | |
and xsa@ finally convinced me this is safe (and better). OK joris@, niallo@, and 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 | switch to openrcs and eliminate more gnu from the tree. | Joris Vink | |
note that openrcs still lacks some features. okay niallo@, xsa@, ray@, "Do it" deraadt@ | |||
2006-04-10 | - zap some whitespace. | Niall O'Higgins | |
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-09 | - don't print out warnings about locking when they are actually wrong and | Niall O'Higgins | |
just confuse the user. ok and input joris@ | |||
2006-04-07 | change rcs_set_mtime() return type to void. | Xavier Santolaria | |
2006-04-07 | Stylistic changes initially from Thordur I. Bjornsson, more cleanup | Ray Lai | |
and delinting from me. OK otto@ and jaredy@ | |||
2006-04-06 | cvs_buf_copy() and cvs_buf_peek() are not used by usr.bin/rcs; OK niallo@. | Xavier Santolaria | |
2006-04-06 | lexicographical order, not lexigraphical order; why people don't | Jason McIntyre | |
just use "alphabetical" is beyond me... from igor sobrado (pr #5070); | |||
2006-04-06 | rcsnum_setsize() will never return non-zero; change its return type to void. | Xavier Santolaria | |
2006-04-06 | -z can take no argument. | Xavier Santolaria | |
2006-04-06 | small knf; | Xavier Santolaria | |
2006-04-06 | Fix a bug whereby a written buffer (^X^W) would not have the correct | Kjell Wooding | |
trailing buffer number appended (e.g. "file<2>") in case an existing buffer shared its basename(). | |||
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-04 | Remove unused variable, spotted by otto@ | Pedro Martelletto | |
2006-04-04 | Fix case where a string could not be correctly terminated, okay jaredy@ | Pedro Martelletto | |
2006-04-03 | Ignore http_proxy for file urls; ok millert deraadt | Uwe Stuehler | |
2006-04-03 | reflect reality, wchar_t has been int on OpenBSD for about a year now. | Marc Espie | |
okay millert@ | |||
2006-04-03 | GSSAPI buffers shouldn't be nul-terminated, spotted in bugzilla #1066 | Damien Miller | |
by dleonard AT vintela.com. use xasprintf() to simplify code while in there; "looks right" deraadt@ | |||
2006-04-03 | lint, strtonum() | Theo de Raadt | |
2006-04-03 | few more int that can become a size_t | Theo de Raadt | |
2006-04-03 | fixed "text in message line would get stuck there" issue. | Kjell Wooding | |
feedback from Philip Guenther and Han Boetes | |||
2006-04-03 | useless code simplification from adobriyan AT gmail.com | Damien Miller | |
2006-04-03 | some more malloc(x * y); bzero() -> calloc(x, y) whacking from | Damien Miller | |
adobriyan AT gmail.com | |||
2006-04-03 | lint love; ok kjell | Theo de Raadt | |