bug-cvs
[Top][All Lists]
Advanced

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

FW: Strange behaviour/empty file name (resolution)


From: Ellison, Martin [IT]
Subject: FW: Strange behaviour/empty file name (resolution)
Date: Fri, 10 Aug 2001 15:48:54 +1000

Patch (relative to Corey's version):

*** parseinfo.c-old     Fri Aug 10 15:07:05 2001
--- parseinfo.c Fri Aug 10 15:46:12 2001
***************
*** 369,376 ****
--- 369,379 ----
        }
        else if (strcmp (line, "LockDir") == 0)
        {
+         struct stat sb;
            if (lock_dir != NULL)
                free (lock_dir);
+           if (stat (p, &sb) < 0)
+                   error (1, errno, "bad LockDir: cannot stat %s", p);
            lock_dir = xstrdup (p);
            /* Could try some validity checking, like whether we can
               opendir it or something, but I don't see any particular

-----Original Message-----

LockDir=

(or, to be exact, LockDir=$LOCKDIR in CVSROOT/config without an export
$LOCKDIR=something)

(The issue, as covered in previous postings, was some cvs [server aborted]:
cannot stat : No such file or directory messages on checkout).

Regards,
Martin


_______________________________________________
Bug-cvs mailing list
Bug-cvs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-cvs



reply via email to

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