The Samba-Bugzilla – Attachment 2350 Details for
Bug 4378
Make the transfer rules behave more like ordinary excludes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Limit deletions to exclude items we aren't transferring
del-limit.patch (text/plain), 704 bytes, created by
Wayne Davison
on 2007-03-27 17:37:48 UTC
(
hide
)
Description:
Limit deletions to exclude items we aren't transferring
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2007-03-27 17:37:48 UTC
Size:
704 bytes
patch
obsolete
>--- generator.c 18 Mar 2007 06:00:54 -0000 1.334 >+++ generator.c 27 Mar 2007 22:26:32 -0000 >@@ -468,6 +468,18 @@ static void delete_in_dir(struct file_li > } > if (flist_find(flist, fp) < 0) { > f_name(fp, delbuf); >+ if (!preserve_links && S_ISLNK(fp->mode)) { >+ rprintf(FINFO, "not deleting symlink: %s\n", delbuf); >+ continue; >+ } >+ if (!preserve_devices && IS_DEVICE(fp->mode)) { >+ rprintf(FINFO, "not deleting device file: %s\n", delbuf); >+ continue; >+ } >+ if (!preserve_specials && IS_SPECIAL(fp->mode)) { >+ rprintf(FINFO, "not deleting special file: %s\n", delbuf); >+ continue; >+ } > if (delete_during == 2) { > if (!remember_delete(fp, delbuf)) > break;
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 4378
: 2350