| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
Instead use cvsroot_is_local() and cvsroot_is_remote().
|
|
|
|
|
|
|
| |
This flag tells our file recursion code that for each directory entered
we should lock it. Commit however locks all relevant directories on its
own when it is about to make changes and should not depend on the file
recursion code to do so.
|
|
|
|
|
|
|
| |
Gets rid of the old logic that wasn't working and replaced it with
a simplified version.
ok stsp@
|
|
|
|
| |
OK millert@
|
|
|
|
| |
ok mmcc
|
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
| |
Bombardieri.
|
| |
|
|
|
|
|
|
| |
cvs/rcs.
OK xsa zinovik
|
|
|
|
|
|
|
|
|
|
|
| |
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and
spacing.
2. One strchr -> strncspn.
3. diff had a weird thing where it set file[12] = ofile[12] but
never updated file or ofile, then if file and ofile were different
it freed it. I removed it.
OK millert
|
|
|
|
|
|
|
| |
cvs diff -t now works. There should be no functional change
otherwise.
OK millert
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do not skip files or run over them twice.
also fixes -l and -r for checkout/update when a file in
Attic exists with that tag that in HEAD is a directory
in the normal repository like gnu/usr.bin/gcc/INSTALL.
as a bonus, we do not run fstat() twice per file or dir
anymore...
spotted by deraadt@
|
|
|
|
| |
so we can benefit from faster lookup times while recursing.
|
|
|
|
|
|
| |
requested. Do this for GNU cvs compatibility, too.
ok joris
|
| |
|
|
|
|
| |
ok joris
|
|
|
|
|
|
|
|
| |
an RCS file which has no head revision set. Some commands actually can
work with them (log, status) so support these files. Fixes A LOT of
possible segmentation faults.
ok joris
|
|
|
|
|
|
|
|
|
|
|
|
| |
last opened CVS/Entries around to operate on and close it whenever
we switch directory. gives us a small performance boost, obviously.
while doing this, switch the way we write revisions to disk by
using fwrite(3) so stuff can get written to disk in chunks
instead of writing everything line by line, another win.
with help from otto@
ok tobias@
|
| |
|
|
|
|
|
|
|
|
| |
with a remote setup.
fixes a very annoying bug with loginfo as well.
ok tobias@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on.
This enables the use of log_accum2 and all that other nice stuff we like.
This was mostly written by Jonathan Armani with help from tobias@ and myself.
ok tobias@
|
|
|
|
|
|
|
| |
Instead of ignoring all files which contain possible conflict markers,
only watch out for files which have actually been merged.
With input by and ok joris.
|
|
|
|
|
|
|
| |
once in local setup. Also added '!' to reuse typed log message for all
following directories.
ok joris
|
|
|
|
|
|
| |
you add a file with -m message).
ok joris
|
|
|
|
|
|
|
| |
branch entry points in one revision as well as branches which started from
other branches.
ok joris
|
|
|
|
|
|
|
| |
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- commit locks all relevant directories before even attempting to start.
|
|
|
|
| |
ok tobias@
|
|
|
|
| |
OK joris@
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.
OK joris@
> Inspired by a diff from Igor Zinovik about unchecked return value.
|
| |
|
|
|
|
|
|
|
| |
correct -i and -o usage
-i runs the program specified on commit
-o runs the program specified on checkout
|
|
|
|
| |
OK joris@
|
|
|
|
| |
ok tobias@
|
|
|
|
|
|
|
|
|
|
|
| |
if the current command is supposed to use a working directory or if it is a
repository-only command (as of now checkout -p, rtag, rlog).
Makes the code simpler, easier to read and automagically fixes some issues
we encountered with these commands (for example if a working directory
exists, or "." operations are performed).
OK joris@, niallo@
|
|
|
|
| |
> Diff from Igor Zinovik
|
|
|
|
| |
> Diff from Igor Zinovik
|
|
|
|
|
|
|
|
| |
properly free arguments if options are supplied multiple times.
OK ray@
> Diff from Igor Zinovik
|
|
|
|
|
|
|
|
| |
in front of it.
OK joris@, xsa@
> Diff from Igor Zinovik
|
|
|
|
|
|
|
|
| |
of 24.
OK xsa@
> Diff from Igor Zinovik.
|
|
|
|
|
|
| |
OK xsa@
> Diff from Igor Zinovik.
|
|
|
|
|
|
|
|
|
| |
if (!(mode & RCS_KWEXP_NONE))
RCS_KWEXP_NONE is defined to 0, so expansion happened always.
Left shifted all RCS_KWEXP defines and looked carefully at hard-coded values
throughout the code.
|
|
|
|
|
| |
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.
|
|
|
|
|
|
| |
does not exist, fixes a segfault when commiting a new file.
found by tobias@ who is going to make a nice little regression test for this.
|
|
|
|
|
|
| |
and returns a possibly wrong revision as 'current revision'.
noticed by tobias@ his regress testing
|
| |
|
| |
|
|
|
|
| |
the sticky directory tag with it. since -r gets priority.
|