Displaying 4 results from an estimated 4 matches for "missing_ok".
2004 Mar 24
1
incorrect exclude list with -C
I just received this bug report on Debian's rsync package.
I've verified it. The entry from the manpage:
-C [...]
Finally, any file is ignored if it is in the same directory as a
.cvsignore file and matches one of the patterns listed therein.
Here the patterns of a .cvsignore file is apparently used to exclude
file outside the directory where the .cvsignore file is found.
Any
2004 Apr 22
1
rsync problems from flist.c change
....orig/flist.c
+++ rsync-2.6.0/flist.c
@@ -871,7 +871,7 @@
if (cvs_exclude) {
if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) {
strcpy(p, ".cvsignore");
- add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCL
UDE);
+ add_exclude_file(&local_exclude_list,fname,MISSING_OK,AD
D_EXCLUDE); // PS XXX
} else {
io_error |= IOERR_GENERAL;
rprintf(FINFO,
And in fact, reverting this change seems to "fix" t...
2004 Feb 08
2
strange behaviour with -C
Hi!
This problem gave me quite a headache tonight...
I more or less have this source directory:
hop@krautesel:/var/tmp$ ls -laR from/
from/:
total 12
drwxrwxr-x 3 hop hop 4096 Feb 8 03:34 .
drwxrwxrwt 6 root root 4096 Feb 8 03:34 ..
drwxrwxr-x 2 hop hop 4096 Feb 8 03:18 CVS
-rw-rw-r-- 1 hop hop 0 Feb 8
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...;
if (cvs_exclude) {
if (strlcpy(p, ".cvsignore", MAXPATHLEN - offset)
@@ -976,6 +1016,18 @@
}
}
+ if (rsync_exclude) {
+ if (strlen(fname) + strlen(rsync_exclude) <= MAXPATHLEN - 1) {
+ strcpy(p, rsync_exclude);
+ add_exclude_file(&recur_local_exclude_list,fname,MISSING_OK,ADD_EXCLUDE);
+ } else {
+ io_error = 1;
+ rprintf(FINFO,
+ "cannot rsync-exclude in long-named directory %s\n",
+ fname);
+ }
+ }
+
for (errno = 0, di = readdir(d); di; errno = 0, di = readdir(d)) {
char *dname = d_name(di);
if (dname[0] == '.' && (dna...