Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leave out two unneeded sys*_fd() functions due to their using
[rsync/rsync.git]
/
lib
/
sysacls.c
diff --git
a/lib/sysacls.c
b/lib/sysacls.c
index
0ad8075
..
725d277
100644
(file)
--- a/
lib/sysacls.c
+++ b/
lib/sysacls.c
@@
-1206,6
+1206,7
@@
SMB_ACL_T sys_acl_get_file(const char *path_p, SMB_ACL_TYPE_T type)
return acl_d;
}
return acl_d;
}
+#if 0
SMB_ACL_T sys_acl_get_fd(int fd)
{
/*
SMB_ACL_T sys_acl_get_fd(int fd)
{
/*
@@
-1226,6
+1227,7
@@
SMB_ACL_T sys_acl_get_fd(int fd)
return sys_acl_get_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS);
}
return sys_acl_get_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS);
}
+#endif
int sys_acl_clear_perms(SMB_ACL_PERMSET_T permset_d)
{
int sys_acl_clear_perms(SMB_ACL_PERMSET_T permset_d)
{
@@
-1885,6
+1887,7
@@
int sys_acl_set_file(const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
return ret;
}
return ret;
}
+#if 0
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
{
/*
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
{
/*
@@
-1909,6
+1912,7
@@
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
return sys_acl_set_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS, acl_d);
}
return sys_acl_set_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS, acl_d);
}
+#endif
int sys_acl_delete_def_file(const char *path)
{
int sys_acl_delete_def_file(const char *path)
{