Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-07-18 18:11:38 +0400
committerCorinna Vinschen <corinna@vinschen.de>2006-07-18 18:11:38 +0400
commit62e9d4b96f5bc2aa1aa23361082e01297db32593 (patch)
tree28bb9bc2e6d0d0100a8d7c6e7d0af989ca2bb1f8 /winsup/cygwin/sec_acl.cc
parent295912e8734a82a9b11ef7923e880dc0ae00961f (diff)
* sec_acl.cc (acltotext32): Add missing handling of default ACL entry
types.
Diffstat (limited to 'winsup/cygwin/sec_acl.cc')
-rw-r--r--winsup/cygwin/sec_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 0c198dc25..85f02013c 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -728,7 +728,7 @@ acltotext32 (__aclent32_t *aclbufp, int aclcnt)
first = false;
if (aclbufp[pos].a_type & ACL_DEFAULT)
strcat (buf, "default");
- switch (aclbufp[pos].a_type)
+ switch (aclbufp[pos].a_type & ~ACL_DEFAULT)
{
case USER_OBJ:
__small_sprintf (buf + strlen (buf), "user::%s",