summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-11 23:41:33 +0000
committerJeremy Allison <jra@samba.org>2001-01-11 23:41:33 +0000
commitcffc311b8a897641166728f27464ba7d37a2092c (patch)
tree35a337d4fea2f16407bf76502dfb972ccc93efba /source3/lib
parentea1e6f9e7bc845ddf93a1603d7e43050be0e7917 (diff)
downloadsamba-cffc311b8a897641166728f27464ba7d37a2092c.tar.gz
samba-cffc311b8a897641166728f27464ba7d37a2092c.tar.bz2
samba-cffc311b8a897641166728f27464ba7d37a2092c.zip
Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy (This used to be commit 523c91935621ec2d200a79385046694806f7c837)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysacls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 84989de417..f665c780cf 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -46,7 +46,7 @@ extern int DEBUGLEVEL;
int sys_acl_set_permset( SMB_ACL_ENTRY_T entry, SMB_ACL_PERMSET_T permset)
int sys_acl_valid( SMB_ACL_T theacl )
int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
- int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+ int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
This next one is not POSIX complient - but we *have* to have it !
More POSIX braindamage.
@@ -147,7 +147,7 @@ int sys_acl_set_permset( SMB_ACL_ENTRY_T entry, SMB_ACL_PERMSET_T permset)
int sys_acl_valid( SMB_ACL_T theacl )
{
- return acl_valid(thacl);
+ return acl_valid(theacl);
}
int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
@@ -155,9 +155,9 @@ int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
return acl_set_file(name, acltype, theacl);
}
-int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
{
- return acl_set_fd(fd, acltype, theacl);
+ return acl_set_fd(fd, theacl);
}
int sys_acl_free_text(char *text)
@@ -266,7 +266,7 @@ int sys_acl_set_file( char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
return -1;
}
-int sys_acl_set_fd( int fd, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl)
+int sys_acl_set_fd( int fd, SMB_ACL_T theacl)
{
return -1;
}