[Bug driver/108350] Windows: invoking gcc via symlink does not work

i.nixman at autistici dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 16 08:51:06 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350

--- Comment #21 from niXman <i.nixman at autistici dot org> ---
another strange problem is that `CreateFile()` is able to open the special file
`nul` for reading, but `GetFinalPathNameByHandle()` cannot get the full name of
this file and returns 0 and setting `last error` to `ERROR_INVALID_PARAMETER`.

and so you don't get bored I'll add: `GetFullPathName()` can get the full name
of such a file.

(how could this happen? %) )


More information about the Gcc-bugs mailing list