Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70685 Details for
Bug 100981
net-misc/rsync-2.6.6 fails one test
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rsync-2.6.6-acl.patch
rsync-2.6.6-acl.patch (text/plain), 1.55 KB, created by
Michael Cramer
on 2005-10-14 13:02:37 UTC
(
hide
)
Description:
rsync-2.6.6-acl.patch
Filename:
MIME Type:
Creator:
Michael Cramer
Created:
2005-10-14 13:02:37 UTC
Size:
1.55 KB
patch
obsolete
>diff -u -r rsync-2.6.6/acls.c rsync-2.6.6.new/acls.c >--- rsync-2.6.6/acls.c 2005-10-14 19:50:49.000000000 +0000 >+++ rsync-2.6.6.new/acls.c 2005-10-14 19:52:44.000000000 +0000 >@@ -845,7 +845,7 @@ > types[] = {SMB_ACL_TYPE_ACCESS, SMB_ACL_TYPE_DEFAULT}; > int ret = 0; > if (!preserve_acls) >- return 0; >+ return 1; > for (type = &types[0]; > type < &types[0] + sizeof types / sizeof types[0] > && (*type == SMB_ACL_TYPE_ACCESS || S_ISDIR(mode)); >@@ -962,7 +962,7 @@ > } > return ret; > } >- return 0; >+ return 1; > } > > void cleanup_keep_backup_acl() >@@ -992,7 +992,7 @@ > SMB_ACL_TYPE_T *type, > types[] = {SMB_ACL_TYPE_ACCESS, SMB_ACL_TYPE_DEFAULT}; > if (dry_run || !preserve_acls || S_ISLNK(file->mode)) >- return 0; >+ return 1; > if (file == backup_orig_file) { > if (!strcmp(fname, backup_dest_fname)) > return set_keep_backup_acl(); >diff -u -r rsync-2.6.6/rsync.h rsync-2.6.6.new/rsync.h >--- rsync-2.6.6/rsync.h 2005-10-14 19:50:49.000000000 +0000 >+++ rsync-2.6.6.new/rsync.h 2005-10-14 19:53:31.000000000 +0000 >@@ -667,12 +667,12 @@ > #define SEND_ACL(file, f) > #define RECEIVE_ACL(file, f) > #define SORT_FILE_ACL_INDEX_LISTS() >-#define SET_ACL(fname, file) 0 /* checked return value */ >+#define SET_ACL(fname, file) 1 /* checked return value */ > #define NEXT_ACL_UID() > #define ACL_UID_MAP(uid) > #define PUSH_KEEP_BACKUP_ACL(file, orig, dest) > #define CLEANUP_KEEP_BACKUP_ACL() >-#define DUP_ACL(src, orig, mode) 0 /* checked return value */ >+#define DUP_ACL(src, orig, mode) 1 /* checked return value */ > #endif /* SUPPORT_ACLS */ > #include "smb_acls.h" >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 100981
: 70685 |
70804