Bug 4922 - acl_type #defined in <sys/acl.h> clashes with local smbd/posix_acls.c
Summary: acl_type #defined in <sys/acl.h> clashes with local smbd/posix_acls.c
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.25c
Hardware: Alpha OSF/1
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 02:21 UTC by James Sainsbury
Modified: 2007-08-27 02:26 UTC (History)
0 users

See Also:


Attachments
fix (629 bytes, patch)
2007-08-27 02:26 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Sainsbury 2007-08-27 02:21:10 UTC
Tru64 5.1b
<sys/acl.h>
#define acl_type       acl_common.entry_type
----
Samba 3.0.25c
smbd/posix_acls.c
static NTSTATUS append_ugw_ace(files_struct *fsp,
...
int acl_type;
...
----
The compiler error messages aren't too intuitive.
----
I would either #undef acl_type in posix_acls.c or
rename acl_type in append_ugw_ace
Comment 1 Volker Lendecke 2007-08-27 02:26:04 UTC
Created attachment 2890 [details]
fix

This was fixed with svn r24634
Comment 2 Volker Lendecke 2007-08-27 02:26:27 UTC
fixed