From 6780333e20835aeb3b16f6aa516dec8c3488f1b2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 21 Jul 2000 10:06:13 +0000 Subject: * security.cc (acl_worker): Use stat_suffixes in call to path_conv just as in `stat_worker'. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/security.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin') 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 + + * 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 * 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); -- cgit v1.2.3