]> git.pld-linux.org Git - packages/cvs.git/blobdiff - cvs-home_etc.patch
- fixed typo, now home_etc works fine
[packages/cvs.git] / cvs-home_etc.patch
index e1d0d109e96fef1f09780907166b0b428da03715..4c71f7c69984e8c4b3bb10ff116421e7e3004c58 100644 (file)
@@ -23,7 +23,7 @@
 +      sprintf(cfgdir, "%s/%s", dir, path);
 +    } else
 +      cfgdir = NULL;
-+    if ( cfgdir && (stat(path, &st) != -1) && S_ISDIR(st.st_mode) ) {
++    if ( cfgdir && (stat(cfgdir, &st) != -1) && S_ISDIR(st.st_mode) ) {
 +      path = xmalloc(strlen(cfgdir) + 1 + strlen(file)-isdot + 1);
 +      sprintf (path, "%s/%s", cfgdir, file+isdot);
 +    } else {
This page took 0.096622 seconds and 4 git commands to generate.