Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a08979d
)
Use the latest F_DIR_*() defines (whose names were tweaked).
author
Wayne Davison
<wayned@samba.org>
Sun, 8 Jul 2007 20:53:35 +0000
(20:53 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 8 Jul 2007 20:53:35 +0000
(20:53 +0000)
acls.c
patch
|
blob
|
blame
|
history
diff --git
a/acls.c
b/acls.c
index
00787f0
..
6074d9b
100644
(file)
--- a/
acls.c
+++ b/
acls.c
@@
-740,7
+740,7
@@
void receive_acl(struct file_struct *file, int f)
F_ACL(file) = recv_rsync_acl(&access_acl_list, SMB_ACL_TYPE_ACCESS, f);
if (S_ISDIR(file->mode))
F_ACL(file) = recv_rsync_acl(&access_acl_list, SMB_ACL_TYPE_ACCESS, f);
if (S_ISDIR(file->mode))
- F_D
EF_
ACL(file) = recv_rsync_acl(&default_acl_list, SMB_ACL_TYPE_DEFAULT, f);
+ F_D
IR_DEF
ACL(file) = recv_rsync_acl(&default_acl_list, SMB_ACL_TYPE_DEFAULT, f);
}
static int cache_rsync_acl(rsync_acl *racl, SMB_ACL_TYPE_T type, item_list *racl_list)
}
static int cache_rsync_acl(rsync_acl *racl, SMB_ACL_TYPE_T type, item_list *racl_list)
@@
-769,7
+769,7
@@
void cache_acl(struct file_struct *file, statx *sxp)
SMB_ACL_TYPE_ACCESS, &access_acl_list);
if (S_ISDIR(sxp->st.st_mode)) {
SMB_ACL_TYPE_ACCESS, &access_acl_list);
if (S_ISDIR(sxp->st.st_mode)) {
- F_D
EF_
ACL(file) = cache_rsync_acl(sxp->def_acl,
+ F_D
IR_DEF
ACL(file) = cache_rsync_acl(sxp->def_acl,
SMB_ACL_TYPE_DEFAULT, &default_acl_list);
}
}
SMB_ACL_TYPE_DEFAULT, &default_acl_list);
}
}
@@
-920,7
+920,7
@@
int set_acl(const char *fname, const struct file_struct *file, statx *sxp)
if (!S_ISDIR(sxp->st.st_mode))
return unchanged;
if (!S_ISDIR(sxp->st.st_mode))
return unchanged;
- ndx = F_D
EF_
ACL(file);
+ ndx = F_D
IR_DEF
ACL(file);
if (ndx >= 0 && (size_t)ndx < default_acl_list.count) {
acl_duo *duo_item = default_acl_list.items;
duo_item += ndx;
if (ndx >= 0 && (size_t)ndx < default_acl_list.count) {
acl_duo *duo_item = default_acl_list.items;
duo_item += ndx;