Bruno Haible wrote:
* Gnulib's open() function already supports "/dev/null" on native Windows. For consistency, stat() should support it as well.
Just a FYI. Might-Commander on Windows (MCWin32) supports this as well as "/dev/stdin", "/dev/stdout" and "/dev/stderr". An idea for Gnulib? Ref. https://github.com/adamyg/mcwin32/blob/master/mcwin32/libw32/w32_open.c#L368-L375 And similar for 'fopen()'. It isn't as fat as Gnulib, but it's libw32 seems to do a good job of emulating POSIX.