diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-07-21 10:06:13 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-07-21 10:06:13 +0000 |
commit | 6780333e20835aeb3b16f6aa516dec8c3488f1b2 (patch) | |
tree | c92f3a61fb7ac5bfe03a0a70765b0735867c8eaf /winsup | |
parent | c32f82c82aea957431da1725bc4406031b3307cc (diff) | |
download | newlib-6780333e20835aeb3b16f6aa516dec8c3488f1b2.zip newlib-6780333e20835aeb3b16f6aa516dec8c3488f1b2.tar.gz newlib-6780333e20835aeb3b16f6aa516dec8c3488f1b2.tar.bz2 |
* security.cc (acl_worker): Use stat_suffixes in call to path_conv
just as in `stat_worker'.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/security.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f317f53..6a33572 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 29012bf..42bf5f2 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); |