Age | Commit message (Collapse) | Author |
|
"looks gut" mickey@
|
|
|
|
|
|
- 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@
|
|
adding a really nasty hack to make some upcoming rlog fixes from joris work.
ok joris@
|
|
``crazy'' joris@
|
|
The comparison function was previously changed by me to use strcmp,
which is probably wrong since a buffer can theoretically have NULs
in it. This fixes it. (In my defense, the original code converted
the buffer text to char * values and compared until there was either
a difference or until a NUL was reached, so my previous change was
no worse.)
OK joris@
|
|
OK joris@
|
|
OK joris@
|
|
OK joris@
|
|
|
|
|
|
no binary change; ok ray
|
|
prodded by deraadt@
|
|
fudges the output to stay clean when intr time wasnt shown. not needed
since we show it now.
|
|
blind, too. seek help. no binary change, ok joris
|
|
tweaks by deraadt@ ok by many
|
|
|
|
Remove unused variables found by lint.
Some parts OK xsa@, ``throw it in :)'' joris@
|
|
-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@
|
|
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@
|
|
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@
|
|
OK xsa@
|
|
Found by lint.
OK xsa@
|
|
`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@
|
|
"cool" niallo@
|
|
|
|
original diff from ray@, crafted into shape by myself.
okay ray@
|
|
|
|
Save 2 bytes of newlines.
OK joris@
|
|
|
|
|
|
|
|
ok henning claudio
|
|
|
|
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@
|
|
OK xsa@
|
|
Found by Florin Iamandi <florin dot i at tiscali dot it>.
OK tedu@ and deraadt@
|
|
and xsa@ finally convinced me this is safe (and better).
OK joris@, niallo@, and xsa@.
|
|
OK joris@, niallo@, and xsa@.
|
|
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@.
|
|
to the worklist of temporary files.
this way we definatly don't leave any files behind in /tmp.
tested & okay niallo@
|
|
it like cvs_buf_write()
- print warning on fchmod() failure (suggested by ray)
ok joris@ ray@
|
|
note that openrcs still lacks some features.
okay niallo@, xsa@, ray@, "Do it" deraadt@
|
|
|
|
|
|
|
|
|
|
just confuse the user.
ok and input joris@
|
|
|