[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/parseinfo.c
From: |
Larry Jones |
Subject: |
[Cvs-cvs] Changes to ccvs/src/parseinfo.c |
Date: |
Fri, 02 Sep 2005 17:03:41 -0400 |
Index: ccvs/src/parseinfo.c
diff -u ccvs/src/parseinfo.c:1.80 ccvs/src/parseinfo.c:1.81
--- ccvs/src/parseinfo.c:1.80 Wed Aug 31 16:51:02 2005
+++ ccvs/src/parseinfo.c Fri Sep 2 21:03:40 2005
@@ -394,8 +394,10 @@
bool approved = false;
for (prefix = allowed_config_prefixes; *prefix != NULL; prefix++)
{
+ char *nprefix;
+
if (!isreadable (*prefix)) continue;
- char *nprefix = xcanonicalize_file_name (*prefix);
+ nprefix = xcanonicalize_file_name (*prefix);
if (!strncmp (nprefix, npath, strlen (nprefix))
&& (((*prefix)[strlen (*prefix)] != '/'
&& strlen (npath) == strlen (nprefix))
@@ -525,7 +527,7 @@
{
if (retval->lock_dir)
free (retval->lock_dir);
- retval->lock_dir = expand_path (p, cvsroot, false, infopath, line);
+ retval->lock_dir = expand_path (p, cvsroot, false, infopath, ln);
/* Could try some validity checking, like whether we can
opendir it or something, but I don't see any particular
reason to do that now rather than waiting until lock.c. */
- [Cvs-cvs] Changes to ccvs/src/parseinfo.c,
Larry Jones <=