On Wed Dec 14 07:48:00 2022 +0000, Zebediah Figura wrote:
I'm reluctant fixing in ntdll as:
- it would require giving a name (even empty) to these handles to file
being constructed on unix fd and expose it to kernel* while we currently fail. There's no clean and portable way to get back to file name (in the case where fd is an opened file)
- there's no need in GetFileInformationByHandle to get the name
Shouldn't it be possible to query the name from such files on Windows anyway, though?
These handles are created by Wine when inheriting unix's fd 0,1,2. So they don't really exist per se on Windows. Currently, all NtQueryInformation returning a name fail on such handles. Please advise which name should be exposed?