The Samba-Bugzilla – Attachment 9864 Details for
Bug 8308
rsync: exclude.c:532: change_local_filter_dir: Assertion `dir_depth < 4096/2+1' failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
More inactive-flist entry ignoring
prune-fix.patch (text/plain), 1.69 KB, created by
Wayne Davison
on 2014-04-20 21:41:53 UTC
(
hide
)
Description:
More inactive-flist entry ignoring
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2014-04-20 21:41:53 UTC
Size:
1.69 KB
patch
obsolete
>--- a/generator.c >+++ b/generator.c >@@ -356,6 +356,9 @@ static void do_delete_pass(void) > for (j = 0; j < cur_flist->used; j++) { > struct file_struct *file = cur_flist->sorted[j]; > >+ if (!F_IS_ACTIVE(file)) >+ continue; >+ > f_name(file, fbuf); > > if (!(file->flags & FLAG_CONTENT_DIR)) { >@@ -753,6 +756,9 @@ static struct file_struct *find_fuzzy(struct file_struct *file, struct file_list > for (j = 0; j < dirlist->used; j++) { > struct file_struct *fp = dirlist->files[j]; > >+ if (!F_IS_ACTIVE(fp)) >+ continue; >+ > if (!S_ISREG(fp->mode) || !F_LENGTH(fp) || fp->flags & FLAG_FILE_SENT) > continue; > >@@ -778,6 +784,9 @@ static struct file_struct *find_fuzzy(struct file_struct *file, struct file_list > int len, suf_len; > uint32 dist; > >+ if (!F_IS_ACTIVE(fp)) >+ continue; >+ > if (!S_ISREG(fp->mode) || !F_LENGTH(fp) || fp->flags & FLAG_FILE_SENT) > continue; > >@@ -2016,6 +2025,8 @@ static void touch_up_dirs(struct file_list *flist, int ndx) > * transfer and/or re-set any tweaked modified-time values. */ > for (i = start; i <= end; i++, counter++) { > file = flist->files[i]; >+ if (!F_IS_ACTIVE(file)) >+ continue; > if (!S_ISDIR(file->mode) > || (!implied_dirs && file->flags & FLAG_IMPLIED_DIR)) > continue; >@@ -2026,8 +2037,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx) > } > /* Be sure not to retouch permissions with --fake-super. */ > fix_dir_perms = !am_root && !(file->mode & S_IWUSR); >- if (!F_IS_ACTIVE(file) || file->flags & FLAG_MISSING_DIR >- || !(need_retouch_dir_times || fix_dir_perms)) >+ if (file->flags & FLAG_MISSING_DIR || !(need_retouch_dir_times || fix_dir_perms)) > continue; > fname = f_name(file, NULL); > if (fix_dir_perms)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8308
:
9862
|
9863
| 9864