diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-02-12 21:21:32 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-02-12 21:21:32 +0000 |
commit | 4753a17b28727225c610a611f94549d13b34b387 (patch) | |
tree | c3a9b3b5673ae1f3b902b5cf043bb97d4098f8d2 | |
parent | 6c9a1b2c25454f96bc447ba72f7392411e2eea4a (diff) | |
download | newlib-4753a17b28727225c610a611f94549d13b34b387.zip newlib-4753a17b28727225c610a611f94549d13b34b387.tar.gz newlib-4753a17b28727225c610a611f94549d13b34b387.tar.bz2 |
* include/cygwin/acl.h: Fix definition of aclent_t.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/acl.h | 22 |
2 files changed, 15 insertions, 11 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6eb1200..c953857 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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> * Makefile.in (DLL_OFILES): Consolidate object files. diff --git a/winsup/cygwin/include/cygwin/acl.h b/winsup/cygwin/include/cygwin/acl.h index 5b5ad97..3ea5f91 100644 --- a/winsup/cygwin/include/cygwin/acl.h +++ b/winsup/cygwin/include/cygwin/acl.h @@ -60,23 +60,23 @@ extern "C" { #ifdef __INSIDE_CYGWIN__ typedef struct __acl16 { - int a_type; /* entry type */ - __uid16_t a_id; /* UID | GID */ - mode_t a_perm; /* permissions */ + int a_type; + __uid16_t a_id; + mode_t a_perm; } __aclent16_t; typedef struct __acl32 { - int a_type; /* entry type */ - __uid32_t a_id; /* UID | GID */ - mode_t a_perm; /* permissions */ + int a_type; + __uid32_t a_id; + mode_t a_perm; } __aclent32_t; -#endif - -typedef struct __acl { +#else +typedef struct acl { int a_type; /* entry type */ - uid_t a_id; /* UID | GID */ + uid_t a_id; /* UID | GID */ mode_t a_perm; /* permissions */ -} __aclent_t; +} aclent_t; +#endif #ifndef __INSIDE_CYGWIN__ int _EXFUN(acl,(const char *path, int cmd, int nentries, aclent_t *aclbufp)); |