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? %) )