Merge from HEAD: avoid braindead #define on Tru64.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Feb 2003 08:27:02 +0000 (08:27 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Feb 2003 08:27:02 +0000 (08:27 +0000)
(This used to be commit 299233fbf2328d08546b3b03dceca67083b68493)

source3/smbd/posix_acls.c

index 22bb7fe76bb66bead3012e31b262640282ef6198..5069db8097b734aeef8310fe6f45204c389bcac6 100644 (file)
@@ -1551,7 +1551,7 @@ static void arrange_posix_perms( char *filename, canon_ace **pp_list_head)
 ****************************************************************************/
 
 static canon_ace *canonicalise_acl( files_struct *fsp, SMB_ACL_T posix_acl, SMB_STRUCT_STAT *psbuf,
-                                       DOM_SID *powner, DOM_SID *pgroup, SMB_ACL_TYPE_T acl_type)
+                                       DOM_SID *powner, DOM_SID *pgroup, SMB_ACL_TYPE_T the_acl_type)
 {
        extern DOM_SID global_sid_World;
        connection_struct *conn = fsp->conn;
@@ -1603,7 +1603,7 @@ static canon_ace *canonicalise_acl( files_struct *fsp, SMB_ACL_T posix_acl, SMB_
                                         * entries out of the blue when setting ACLs, so a get/set
                                         * cycle will drop them.
                                         */
-                                       if (acl_type == SMB_ACL_TYPE_ACCESS && *puid == psbuf->st_uid)
+                                       if (the_acl_type == SMB_ACL_TYPE_ACCESS && *puid == psbuf->st_uid)
                                                continue;
                                        uid_to_sid( &sid, *puid);
                                        unix_ug.uid = *puid;