From 1039a5f2cee3cda1c11f64a5eb3a15b2e87cd2f0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 6 Apr 2026 13:38:22 +0200 Subject: [PATCH] stat: Update doc regarding mingw bug. * doc/posix-functions/stat.texi: Update regarding mingw bug. --- ChangeLog | 5 +++++ doc/posix-functions/stat.texi | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6701cd723f..d526ad8b0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2026-04-06 Bruno Haible + + stat: Update doc regarding mingw bug. + * doc/posix-functions/stat.texi: Update regarding mingw bug. + 2026-04-06 Bruno Haible mbrtowc, mbrtoc32: Silence -Wshadow warnings (regr. 2026-04-02). 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 @@ different results: 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 -- 2.47.3