diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 17:57:50 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 17:58:06 +0100 |
commit | 4bfa93f1a00a09e4fb3bccea334ba22e4c05c3d6 (patch) | |
tree | ca1bc4317a623302401ccbbf161c6bbccf3e6f64 /newlib/libc/stdio/fwprintf.c | |
parent | 26425142ce9e8981e9f97e7d50e632c4f9ee9a03 (diff) | |
download | newlib-4bfa93f1a00a09e4fb3bccea334ba22e4c05c3d6.zip newlib-4bfa93f1a00a09e4fb3bccea334ba22e4c05c3d6.tar.gz newlib-4bfa93f1a00a09e4fb3bccea334ba22e4c05c3d6.tar.bz2 |
Cygwin: symlink/mknod: fix ACL handling
mknod32 actually creates a path_conv, just to call mknod_worker
with a win32 path. This doesn't only require to create path_conv
twice, it also breaks permissions on filesystems supporting ACLs.
Fix this by passing the path_conv created in the caller down to
symlink_worker. Also, while at it, simplify the handling of trailing
slashes and move it out of symlink_worker. Especially use the
new PC_SYM_NOFOLLOW_DIR flag to avoid fiddeling with creating
a new path copy without the trailing slash.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/fwprintf.c')
0 files changed, 0 insertions, 0 deletions