bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs has problems using LockDir when CVSROOT holds a symlink


From: Mark D. Baushke
Subject: Re: cvs has problems using LockDir when CVSROOT holds a symlink
Date: Tue, 23 Sep 2003 12:11:14 -0700

Note: The ChangeLog entry was not correct in my last message.

        -- Mark

2003-09-23  Mark D. Baushke  <address@hidden>

        * root.h (cvsroot_t): Add dirpath to the structure.

        * root.c (new_cvsroot_t, free_cvsroot_t): Handle new dirpath
        element.
        (expand_directory): Add new function to canonicalize a
        cvsroot directory.
        (parsed_cvsroot, local_cvsroot): Use it.

        * lock.c (lock_name): Use current_parsed_root->dirpath first, then
        fall back to current_parsed_root->directory if needed. This fixes
        the problem of using LockDir when the CVSROOT has a symbolic link
        in it.
        
        * sanity.sh (Server): New test for LockDir config item with and
        without CVSROOT using a symbolic link directory.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]