]> git.pld-linux.org Git - packages/cvs.git/blame - cvs-debian-import-n-X.patch
rel 20; rediff patches
[packages/cvs.git] / cvs-debian-import-n-X.patch
CommitLineData
3a862a5e
AM
1# Fix `cvs import -X' failure
2# Fixes: #374964
3# Patch by Florian Zschocke <zschocke@gmx.net>
4diff -ruN cvs-1.12.13-old/src/import.c cvs-1.12.13/src/import.c
5--- cvs-1.12.13-old/src/import.c 2005-09-04 02:27:44.000000000 +0200
6+++ cvs-1.12.13/src/import.c 2006-06-19 19:41:57.000000000 +0200
7@@ -595,7 +595,7 @@
8 /* Attempt to make the Attic directory, in case it
9 does not exist. */
10 (void) sprintf (rcs, "%s/%s", repository, CVSATTIC);
11- if (CVS_MKDIR (rcs, 0777 ) != 0 && errno != EEXIST)
12+ if (noexec == 0 && CVS_MKDIR (rcs, 0777 ) != 0 && errno != EEXIST)
13 error (1, errno, "cannot make directory `%s'", rcs);
14
15 /* Note that the above clobbered the path name, so we
This page took 0.040009 seconds and 4 git commands to generate.