diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 17:40:40 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 17:40:40 +0100 |
commit | 26425142ce9e8981e9f97e7d50e632c4f9ee9a03 (patch) | |
tree | f1709b7ead70f15aef6bee742b6a4478e0bbfac4 /newlib/libc/stdio/fwprintf.c | |
parent | 2caaa810a39075cbf0eb857459a2eef95bf4463f (diff) | |
download | newlib-26425142ce9e8981e9f97e7d50e632c4f9ee9a03.zip newlib-26425142ce9e8981e9f97e7d50e632c4f9ee9a03.tar.gz newlib-26425142ce9e8981e9f97e7d50e632c4f9ee9a03.tar.bz2 |
Cygwin: path_conv: add PC_SYM_NOFOLLOW_DIR flag
Usually a trailing slash requires to follow an existing symlink,
even with PC_SYM_NOFOLLOW. The reason is that "foo/" is equivalent
to "foo/." so the symlink is in fact not the last path component,
"." is. This is default for almost all scenarios.
PC_SYM_NOFOLLOW_DIR now allows the caller to request not to
follow the symlink even if a trailing slash is given. This can
be used in callers to perform certain functions Linux-compatible.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/fwprintf.c')
0 files changed, 0 insertions, 0 deletions