Displaying 4 results from an estimated 4 matches for "check_exclud".
Did you mean:
check_exclude
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...ing patch ports the rsync-exclude patch to rsync 2.6.1pre-1
and also fixes a bug that was introduced in 2.6.0 exclude/include option
that prevents included patterns in one list from overriding previously excluded
patterns from another. This bug becomes apparent on noting that the 0
return code from check_exclude in the include case is now simply ignored in
check_exclude_file (rather than preventing lists with lower precedence to
be examined, as was the case in earlier versions):
...
if (exclude_list && check_exclude(exclude_list, fname, is_dir))
return 1;
if (local_exclude_list
&& ch...
2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
...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) {
struct exclude_struct **last_exclude_list =
local_exclude_list;
+ st...
2003 Feb 16
1
rsync-exclude.patch.
...irectory" : "file",
- name, ent->pattern,
+ 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; e...
2002 Nov 11
0
Regular Expression support
...Common subdirectories: rsync-2.5.5/popt and rsync-2.5.5.mod/popt
diff -u rsync-2.5.5/proto.h rsync-2.5.5.mod/proto.h
--- rsync-2.5.5/proto.h Sun Mar 24 22:51:17 2002
+++ rsync-2.5.5.mod/proto.h Mon Nov 11 01:22:41 2002
@@ -57,17 +57,17 @@
int claim_connection(char *fname,int max_connections);
int check_exclude(char *name, struct exclude_struct **local_exclude_list,
STRUCT_STAT *st);
-void add_exclude_list(const char *pattern, struct exclude_struct ***list, int include);
-void add_exclude(const char *pattern, int include);
+void add_exclude_list(const char *pattern, struct exclude_struct ***list, in...