From 2572a3bfdf0fcef545feed5bb2b53b10a316c04f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 18 Jul 2006 14:11:44 +0000 Subject: * sec_acl.cc (acltotext32): Add missing handling of default ACL entry types. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/sec_acl.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 9cc9107..275dde7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-07-18 Silvio Laguzzi + + * sec_acl.cc (acltotext32): Add missing handling of default ACL entry + types. + 2006-07-18 Brian Ford Corinna Vinschen diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc index 0c198dc..85f0201 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", -- cgit v1.1