search for: copy_exclude_list

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

2003 Feb 16
1
rsync-exclude.patch.
...(f == -1) && delete_excluded) { return 0; } - if (check_exclude(fname, local_exclude_list, st)) { + if (check_exclude(fname, local_exclude_list, + recur_local_exclude_list, st)) { return 1; } return 0; @@ -773,7 +776,32 @@ return file; } +static struct exclude_struct **copy_exclude_list(struct exclude_struct **from) { + struct exclude_struct **to; + int i; + int len=0; + int size; + + if (!from) return NULL; + + for (; from[len]; len++) ; + size=sizeof(struct exclude_struct *)*(len+1); + to = (struct exclude_struct **) malloc(size); + if (!to) out_of_memory("copy_exclude_li...
2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
This is a patch to add an --rsync-exclude option to rsync-2.5.6cvs. File names in .rsync- (or .rsync+) are excluded (or included) from the file lists associated with the current directory and all of its subdirectories. This has advantages over --cvs-exclude for backing up large file systems since the .cvsignore files only apply to the current directory: unless the .cvsignore restrictions apply
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...+ "cvs-exclude"))) + return (rc < 0); + if (exclude_list && + (rc=check_exclude(exclude_list, fname, is_dir, "exclude"))) + return (rc < 0); return 0; } @@ -503,7 +514,32 @@ io_write_phase = "unknown"; } +static struct exclude_struct **copy_exclude_list(struct exclude_struct **from) { + struct exclude_struct **to; + int i; + int len=0; + int size; + + if (!from) return NULL; + + for (; from[len]; len++) ; + size=sizeof(struct exclude_struct *)*(len+1); + to = (struct exclude_struct **) malloc(size); + if (!to) out_of_memory("copy_exclude_li...