[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs-1.11.1p1 fails if CVSROOT is symbolic link
From: |
James Youngman |
Subject: |
cvs-1.11.1p1 fails if CVSROOT is symbolic link |
Date: |
Wed, 8 Aug 2001 06:34:07 -0400 |
User-agent: |
Mutt/1.2.5i |
If you use LockDir and CVSROOT is a symbolic link, cvs-1.11.1p1 falls
over with an assertion failure :-
bash-2.02$ cvs co -rpre-review sid
lock.c:178: failed assertion `strncmp (repository,
current_parsed_root->directory,
strlen (current_parsed_root->directory)) == 0'
cvs [checkout aborted]: received abort signal
lock.c:178: failed assertion `strncmp (repository,
current_parsed_root->directory,
strlen (current_parsed_root->directory)) == 0'
cvs [checkout aborted]: received abort signal
bash-2.02$ echo $CVSROOT
/space/cvs-root.TXUNETA
bash-2.02$ cvs version
Concurrent Versions System (CVS) 1.11.1p1 (client/server)
(gdb) print *current_parsed_root
$2 = {original = 0xb1b90 "/space/cvs-root.TXUNETA", method = local_method,
username = 0x0, password = 0x0, hostname = 0x0, port = 0,
directory = 0xb1bd0 "/space/cvs-root.TXUNETA", isremote = 0 '\000'}
(gdb)
(gdb) print repository
$3 = 0xb43d0 "/sol27/space/cvs-root.TXUNETA/sid"
bash-2.02$ ls -lid /space/cvs-root.TXUNETA /sol27/space/cvs-root.TXUNETA
220248 drwxrwxr-x 32 james txudev 1024 Jul 4 11:42
/sol27/space/cvs-root.TXUNETA
220248 drwxrwxr-x 32 james txudev 1024 Jul 4 11:42
/space/cvs-root.TXUNETA
bash-2.02$ ls -ld /space
lrwxrwxrwx 1 root other 12 Aug 25 2000 /space -> /sol27/space
bash-2.02$
If I set $CVSROOT to a value which is not a symlink, everything works.
OS is Solaris-2.6.
Compiler is gcc version 2.95.2 19991024 (release)
- cvs-1.11.1p1 fails if CVSROOT is symbolic link,
James Youngman <=