A mingw bug has been fixed.
2026-04-06 Bruno Haible <[email protected]> stat: Update doc regarding mingw bug. * doc/posix-functions/stat.texi: Update regarding mingw bug. diff --git a/doc/posix-functions/stat.texi b/doc/posix-functions/stat.texi index 80762977a8..6e9be51066 100644 --- a/doc/posix-functions/stat.texi +++ b/doc/posix-functions/stat.texi @@ -37,7 +37,8 @@ mingw, MSVC 14. @item @c https://sourceforge.net/p/mingw-w64/bugs/1009/ -On mingw, the @code{st_mode} field of @code{stat("NUL",buf)} is bogus, +On mingw up to 14.0.0, +the @code{st_mode} field of @code{stat("NUL",buf)} is bogus, suggesting that @code{NUL} is a regular file. @item On macOS 12.6, when this function yields a timestamp with a
