aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-07-18 14:11:44 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-07-18 14:11:44 +0000
commit2572a3bfdf0fcef545feed5bb2b53b10a316c04f (patch)
tree621cd2485fb94cee59d2d8cdae66b36e3fe5ada6
parent5c7699109189daccd29bd127488fee4d1c6f80c8 (diff)
downloadnewlib-2572a3bfdf0fcef545feed5bb2b53b10a316c04f.zip
newlib-2572a3bfdf0fcef545feed5bb2b53b10a316c04f.tar.gz
newlib-2572a3bfdf0fcef545feed5bb2b53b10a316c04f.tar.bz2
* sec_acl.cc (acltotext32): Add missing handling of default ACL entry
types.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sec_acl.cc2
2 files changed, 6 insertions, 1 deletions
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 <slaguzzi@data-al.de>
+
+ * sec_acl.cc (acltotext32): Add missing handling of default ACL entry
+ types.
+
2006-07-18 Brian Ford <Brian.Ford@FlightSafety.com>
Corinna Vinschen <corinna@vinschen.de>
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",