Age | Commit message (Collapse) | Author |
|
ok ray
|
|
|
|
from Michael W. Bombardieri
-T stuff verified by nicm
|
|
using lint.
|
|
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
|
|
From Michael W Bombardieri via ray@.
|
|
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@
|
|
ok stsp, zinovik
|
|
in a performance gain in OpenCVS in some "cvs update" scenarios.
ok zinovik
|
|
Michael W Bombardieri.
ok tobias stsp
|
|
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
|
|
a revision not specified as delta in an RCS file.
Spotted by and ok zinovik
|
|
ok nicm
|
|
- 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
|
|
ok tobias xsa
|
|
ok nicm, zinovik
|
|
This fixes r* commands such as rlog against a repository which has
somehow ended up containing CVS/Entries.Static files.
ok nicm@ guenther@
|
|
diff from Michael W Bombardieri in PR 6398.
tested by & ok jasper
|
|
|
|
ok ray, zinovik
|
|
ok stsp
|
|
pointers.
ok zinovik
|
|
|
|
OpenRCS.
ok xsa, zinovik
|
|
copy it into a newly allocated one (which is even a memory leak).
ok zinovik
|
|
Is not used and not useful.
ok xsa, zinovik
|
|
unbreaks opencvs build
|
|
ok nicm@
|
|
buf_grow() replaces macro BUF_GROW()
ok nicm@, ray@
|
|
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
|
|
the unix epoch is equally absurd. Just return Start for now. We may
add overflow checks in the future.
OK xsa nicm
|
|
OK xsa
|
|
returns -1 on error.
OK nicm
|
|
This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.
ok sthen zinovik
|
|
cvs/rcs.
OK xsa zinovik
|
|
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
|
|
prefixes to reduce differences between cvs and rcs files.
"yes!" nicm
|
|
as root.
OK nicm
|
|
OK stsp xsa nicm
|
|
such. Besides, we weren't handling the NULL being returned.
From diff. Minor nit by nicm.
OK xsa stsp nicm
|
|
Return -1 on error as advertised.
Handle case when only one stream failed.
OK xsa, stsp
|
|
repository files.
slightly earlier version ok zinovik xsa
|
|
edited it back to repository state).
ok zinovik
|
|
|
|
symbol/tag names: require the first character to be a letter and
allow any printable character (except the RCS specials $,.:;@)
afterwards. This matches GNU cvs.
ok xsa@ zinovik@ stsp@
|
|
enters, even if it was executed simultaneously with `-n' (no exec option).
cvs_unedit_local() does not conform that behaviour, so lets make it behave
like all other functions.
ok xsa@, stsp@
|
|
behalf of stsp@ who is travelling. OK miod@ deraadt@ xsa@ jsg@
|
|
files at a time.
OpenCVS does the following:
# touch a b c
# opencvs add a b c
opencvs add: scheduling file 'a' for addition
opencvs add: use 'opencvs commit' to add this file permanently
opencvs add: scheduling file 'b' for addition
opencvs add: use 'opencvs commit' to add this file permanently
opencvs add: scheduling file 'c' for addition
opencvs add: use 'opencvs commit' to add this file permanently
This behaviour was added in -r 1.48 of add.c file.
This commit makes OpenCVS behave like GNU cvs:
# touch a b c
# opencvs add a b c
opencvs add: scheduling file 'a' for addition
opencvs add: scheduling file 'b' for addition
opencvs add: scheduling file 'c' for addition
opencvs add: use 'opencvs commit' to add these files permanently
ok deraadt@, xsa@
|
|
lines, but does exactly the same thing. It also removes unneeded variable
`buf'
ok deraadt@, xsa@
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|