From 523c91935621ec2d200a79385046694806f7c837 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 11 Jan 2001 23:41:33 +0000 Subject: 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 --- source/lib/sysacls.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/lib/sysacls.c') diff --git a/source/lib/sysacls.c b/source/lib/sysacls.c index 84989de4177..f665c780cf3 100644 --- a/source/lib/sysacls.c +++ b/source/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; } -- cgit