incorrect exclude list with -C
Wayne Davison
wayned at samba.org
Wed Mar 24 16:25:36 GMT 2004
On Wed, Mar 24, 2004 at 01:12:25PM +0100, Paul Slootman wrote:
> Here the patterns of a .cvsignore file is apparently used to exclude
> file outside the directory where the .cvsignore file is found.
Thi has been fixed in CVS since early Januaray and I've mentioned the
fix on this list before:
--- flist.c 13 Jan 2004 06:27:30 -0000 1.164
+++ flist.c 17 Jan 2004 01:16:49 -0000 1.165
@@ -942,7 +942,7 @@ static void send_directory(int f, struct
if (cvs_exclude) {
if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) {
strcpy(p, ".cvsignore");
- add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCLUDE);
+ add_exclude_file(&local_exclude_list,fname,MISSING_OK,ADD_EXCLUDE);
} else {
io_error |= IOERR_GENERAL;
rprintf(FINFO,
..wayne..
More information about the rsync
mailing list