I encounts assertion failure with symlinked cvs repository with
LockDir as follows.

* creating cvs repository and setup LockDir.

% mkdir /tmp/cvsroot; ln -s cvsroot /tmp/linked-cvsroot
% ./cvs -d /tmp/linked-cvsroot init
% chmod +w /tmp/linked-cvsroot/CVSROOT/config
% echo LockDir=/var/lock/cvs >> /tmp/linked-cvsroot/CVSROOT/config

* following command causes assertion failure.

% ./cvs -d /tmp/linked-cvsroot rdiff -r xxx CVSROOT
assertion "strncmp (repository, current_parsed_root->directory, strlen 
(current_parsed_root->directory)) == 0" failed: file "lock.c", line 178
cvs [rdiff aborted]: received abort signal
assertion "strncmp (repository, current_parsed_root->directory, strlen 
(current_parsed_root->directory)) == 0" failed: file "lock.c", line 178
cvs [rdiff aborted]: received abort signal

* following commands causes assertion failure on differing line.

% ./cvs -d :fork:/tmp/linked-cvsroot rdiff -r xxx CVSROOT
assertion "strncmp (repository, CVSroot_directory, strlen (CVSroot_directory)) == 0" 
failed: file "lock.c", line 177
cvs [server aborted]: received abort signal
cvs [server aborted]: received abort signal
assertion "strncmp (repository, CVSroot_directory, strlen (CVSroot_directory)) == 0" 
failed: file "lock.c", line 177

* non-symlinked cvs repository works well as follows.

% ./cvs -d :fork:/tmp/cvsroot rdiff -r xxx CVSROOT 
cvs [server aborted]: cannot stat /var/lock/cvs: No such file or directory
cvs [server aborted]: cannot stat /var/lock/cvs: No such file or directory
% ./cvs -d /tmp/cvsroot rdiff -r xxx CVSROOT     
cvs [rdiff aborted]: cannot stat /var/lock/cvs: No such file or directory
cvs [rdiff aborted]: cannot stat /var/lock/cvs: No such file or directory

* the cvs command is build from latest cvs repository.

% ./cvs --version

Concurrent Versions System (CVS) 1.11.0.1 (client/server)

Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, 
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
% uname -a
FreeBSD flux 4.2-RELEASE FreeBSD 4.2-RELEASE #2: Fri Jan 12 22:55:02 JST 2001     
akr@flux:/usr/src/sys/compile/AKR  i386
-- 
Tanaka Akira

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to