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>2000-07-21 14:06:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-07-21 14:06:13 +0400
commit6780333e20835aeb3b16f6aa516dec8c3488f1b2 (patch)
treec92f3a61fb7ac5bfe03a0a70765b0735867c8eaf
parentc32f82c82aea957431da1725bc4406031b3307cc (diff)
* security.cc (acl_worker): Use stat_suffixes in call to path_conv
just as in `stat_worker'.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/security.cc3
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f317f5302..6a33572f1 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 21 12:03:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * security.cc (acl_worker): Use stat_suffixes in call to path_conv
+ just as in `stat_worker'.
+
Wed Jul 19 22:24:00 2000 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (spawn_guts): Don't restore impersonation in case
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 29012bff1..42bf5f2bc 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -1570,7 +1570,8 @@ int
acl_worker (const char *path, int cmd, int nentries, aclent_t *aclbufp,
int nofollow)
{
- path_conv real_path (path, (nofollow ? PC_SYM_NOFOLLOW : PC_SYM_FOLLOW) | PC_FULL);
+ extern suffix_info stat_suffixes[];
+ path_conv real_path (path, (nofollow ? PC_SYM_NOFOLLOW : PC_SYM_FOLLOW) | PC_FULL, stat_suffixes);
if (real_path.error)
{
set_errno (real_path.error);