* include/cygwin/acl.h: Fix definition of aclent_t.
This commit is contained in:
parent
6c9a1b2c25
commit
4753a17b28
|
@ -1,3 +1,7 @@
|
||||||
|
2001-02-12 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/cygwin/acl.h: Fix definition of aclent_t.
|
||||||
|
|
||||||
2002-02-10 Christopher Faylor <cgf@redhat.com>
|
2002-02-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* Makefile.in (DLL_OFILES): Consolidate object files.
|
* Makefile.in (DLL_OFILES): Consolidate object files.
|
||||||
|
|
|
@ -60,23 +60,23 @@ extern "C" {
|
||||||
|
|
||||||
#ifdef __INSIDE_CYGWIN__
|
#ifdef __INSIDE_CYGWIN__
|
||||||
typedef struct __acl16 {
|
typedef struct __acl16 {
|
||||||
int a_type; /* entry type */
|
int a_type;
|
||||||
__uid16_t a_id; /* UID | GID */
|
__uid16_t a_id;
|
||||||
mode_t a_perm; /* permissions */
|
mode_t a_perm;
|
||||||
} __aclent16_t;
|
} __aclent16_t;
|
||||||
|
|
||||||
typedef struct __acl32 {
|
typedef struct __acl32 {
|
||||||
int a_type; /* entry type */
|
int a_type;
|
||||||
__uid32_t a_id; /* UID | GID */
|
__uid32_t a_id;
|
||||||
mode_t a_perm; /* permissions */
|
mode_t a_perm;
|
||||||
} __aclent32_t;
|
} __aclent32_t;
|
||||||
#endif
|
#else
|
||||||
|
typedef struct acl {
|
||||||
typedef struct __acl {
|
|
||||||
int a_type; /* entry type */
|
int a_type; /* entry type */
|
||||||
uid_t a_id; /* UID | GID */
|
uid_t a_id; /* UID | GID */
|
||||||
mode_t a_perm; /* permissions */
|
mode_t a_perm; /* permissions */
|
||||||
} __aclent_t;
|
} aclent_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __INSIDE_CYGWIN__
|
#ifndef __INSIDE_CYGWIN__
|
||||||
int _EXFUN(acl,(const char *path, int cmd, int nentries, aclent_t *aclbufp));
|
int _EXFUN(acl,(const char *path, int cmd, int nentries, aclent_t *aclbufp));
|
||||||
|
|
Loading…
Reference in New Issue