search for: recur_local_exclude_list

Displaying 3 results from an estimated 3 matches for "recur_local_exclude_list".

2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
...flist.c Sat Jan 11 03:47:14 2003 @@ -39,6 +39,7 @@ extern int always_checksum; extern int cvs_exclude; +extern int rsync_exclude; extern int recurse; @@ -64,6 +65,7 @@ static char topsrcname[MAXPATHLEN]; static struct exclude_struct **local_exclude_list; +static struct exclude_struct **recur_local_exclude_list; static struct file_struct null_file; @@ -260,6 +262,9 @@ if (check_exclude(fname, local_exclude_list, st)) { return 1; } + if (check_exclude(fname, recur_local_exclude_list, st)) { + return 1; + } return 0; } @@ -799,8 +804,11 @@ if (S_ISDIR(file->mode) && recursive)...
2003 Feb 16
1
rsync-exclude.patch.
...name, type, ent->pattern, ent->directory ? "/" : ""); } @@ -147,6 +148,7 @@ * LOCAL_EXCLUDE_LIST or the globals EXCLUDE_LIST. */ int check_exclude(char *name, struct exclude_struct **local_exclude_list, + struct exclude_struct **recur_local_exclude_list, STRUCT_STAT *st) { int n; @@ -156,21 +158,37 @@ /* never exclude '.', even if somebody does --exclude '*' */ return 0; - if (exclude_list) { - for (n=0; exclude_list[n]; n++) { - ent = exclude_list[n]; + /* Precedence: use the most local and...
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...lude; +extern const char *rsync_exclude; extern int recurse; extern char curr_dir[MAXPATHLEN]; @@ -66,6 +67,7 @@ extern struct exclude_struct **exclude_list; extern struct exclude_struct **server_exclude_list; extern struct exclude_struct **local_exclude_list; +static struct exclude_struct **recur_local_exclude_list; int io_error; @@ -210,6 +212,7 @@ */ static int check_exclude_file(char *fname, int is_dir, int exclude_level) { + int rc; #if 0 /* This currently never happens, so avoid a useless compare. */ if (exclude_level == NO_EXCLUDES) return 0; @@ -225,16 +228,24 @@ return 0; } }...