mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-03 21:45:51 +08:00
* security.cc (acl_worker): Use stat_suffixes in call to path_conv
just as in `stat_worker'.
This commit is contained in:
parent
c32f82c82a
commit
6780333e20
@ -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>
|
Wed Jul 19 22:24:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* spawn.cc (spawn_guts): Don't restore impersonation in case
|
* spawn.cc (spawn_guts): Don't restore impersonation in case
|
||||||
|
@ -1570,7 +1570,8 @@ int
|
|||||||
acl_worker (const char *path, int cmd, int nentries, aclent_t *aclbufp,
|
acl_worker (const char *path, int cmd, int nentries, aclent_t *aclbufp,
|
||||||
int nofollow)
|
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)
|
if (real_path.error)
|
||||||
{
|
{
|
||||||
set_errno (real_path.error);
|
set_errno (real_path.error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user