diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-12-12 21:56:14 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-12-12 21:56:14 +0100 |
commit | 5ba5e09b9d39feaedc9be0dcd88d085b256c5d40 (patch) | |
tree | 920f0e84a8f7efc1e6af9b2999032c71f804d5ab /newlib/libc | |
parent | 45794e0d66866d928349134ed3b91aeec5477009 (diff) | |
download | newlib-5ba5e09b9d39feaedc9be0dcd88d085b256c5d40.zip newlib-5ba5e09b9d39feaedc9be0dcd88d085b256c5d40.tar.gz newlib-5ba5e09b9d39feaedc9be0dcd88d085b256c5d40.tar.bz2 |
Cygwin: path handling: never substitute virtual drive with target path
Move the drive substitution code after the call to
GetFinalPathNameByHandleW into a local function revert_virtual_drive
and add code to handle non-remote virtual drives, i. e., those
created with the subst command. (Try to) make sure that virtual
drives are never treated like symlinks.
Fixes: 19d59ce75d53 ("Cygwin: path_conv: Rework handling native symlinks as inner path components")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc')
0 files changed, 0 insertions, 0 deletions