Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.4, 11.8, 12.3
-
None
-
None
Description
my_realpath() on Windows does GetFullPathName() which doesn't resolve symlinks, junctions, or mount points.
my_open() (and other file functions) completely ignores MY_NOSYMLINKS.
We could use GetFinalPathNameByHandle() that does resolve everything, but it needs an open file. my_open() can at least use it to compare the path of the opened file with the path if was supposed to open.
my_realpath() can open a file, run GetFinalPathNameByHandle() and close it again. Perhaps. With a special handling for non-existent files.