svn commit: samba r17804 - in branches/SAMBA_3_0/source: include lib

vlendec at samba.org vlendec at samba.org
Thu Aug 24 19:56:20 GMT 2006


Author: vlendec
Date: 2006-08-24 19:56:20 +0000 (Thu, 24 Aug 2006)
New Revision: 17804

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17804

Log:
Fix a enum/int mixup found by the IRIX compiler.

Volker
Modified:
   branches/SAMBA_3_0/source/include/smb_acls.h
   branches/SAMBA_3_0/source/lib/sysacls.c


Changeset:
Modified: branches/SAMBA_3_0/source/include/smb_acls.h
===================================================================
--- branches/SAMBA_3_0/source/include/smb_acls.h	2006-08-24 18:48:44 UTC (rev 17803)
+++ branches/SAMBA_3_0/source/include/smb_acls.h	2006-08-24 19:56:20 UTC (rev 17804)
@@ -30,6 +30,7 @@
 
 /* Types of ACLs. */
 enum smb_acl_tag_t {
+	SMB_ACL_TAG_INVALID=0,
 	SMB_ACL_USER=1,
 	SMB_ACL_USER_OBJ,
 	SMB_ACL_GROUP,

Modified: branches/SAMBA_3_0/source/lib/sysacls.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysacls.c	2006-08-24 18:48:44 UTC (rev 17803)
+++ branches/SAMBA_3_0/source/lib/sysacls.c	2006-08-24 19:56:20 UTC (rev 17804)
@@ -273,7 +273,7 @@
 	}
 
 	entry_d		= &acl_d->acl[acl_d->count++];
-	entry_d->a_type	= 0;
+	entry_d->a_type	= SMB_ACL_TAG_INVALID;
 	entry_d->uid	= -1;
 	entry_d->gid	= -1;
 	entry_d->a_perm	= 0;



More information about the samba-cvs mailing list