* doc/posix-functions/btowc.texi: Add more details regarding mingw.
* doc/posix-functions/fopen.texi: Likewise.
* doc/posix-functions/mbrtowc.texi: Likewise.
* doc/posix-functions/mbsinit.texi: Likewise.
* doc/posix-functions/modf.texi: Likewise.
* doc/posix-functions/modff.texi: Likewise.
* doc/posix-functions/round.texi: Likewise.
* doc/posix-functions/roundf.texi: Likewise.
* doc/posix-functions/swprintf.texi: Likewise.
* doc/posix-functions/timespec_get.texi: Likewise.
* doc/posix-functions/wcrtomb.texi: Likewise.
+2024-12-24 Bruno Haible <bruno@clisp.org>
+
+ doc: Document mingw with MSVCRT vs. mingw with UCRT.
+ * doc/posix-functions/btowc.texi: Add more details regarding mingw.
+ * doc/posix-functions/fopen.texi: Likewise.
+ * doc/posix-functions/mbrtowc.texi: Likewise.
+ * doc/posix-functions/mbsinit.texi: Likewise.
+ * doc/posix-functions/modf.texi: Likewise.
+ * doc/posix-functions/modff.texi: Likewise.
+ * doc/posix-functions/round.texi: Likewise.
+ * doc/posix-functions/roundf.texi: Likewise.
+ * doc/posix-functions/swprintf.texi: Likewise.
+ * doc/posix-functions/timespec_get.texi: Likewise.
+ * doc/posix-functions/wcrtomb.texi: Likewise.
+
2024-12-24 Bruno Haible <bruno@clisp.org>
wchar: Support several gnulib-tool invocations better.
@item
In the C or POSIX locales, this function is not consistent with @code{mbrtowc}
on some platforms:
-Cygwin 3.4.x, mingw.
+Cygwin 3.4.x, mingw with MSVCRT.
@end itemize
Portability problems not fixed by Gnulib:
This function does not support the mode character
@samp{x} (corresponding to @code{O_EXCL}), introduced in ISO C11,
on some platforms:
-FreeBSD 8.2, NetBSD 6.1, OpenBSD 5.6, Minix 3.2, AIX 6.1, HP-UX 11.31, Solaris 11.3, Cygwin 1.7.16 (2012), mingw, MSVC 14.
+FreeBSD 8.2, NetBSD 6.1, OpenBSD 5.6, Minix 3.2, AIX 6.1, HP-UX 11.31, Solaris 11.3, Cygwin 1.7.16 (2012), mingw with MSVCRT, MSVC 14.
@item
This function does not support the mode character
@samp{e} (corresponding to @code{O_CLOEXEC}),
is empty:
@c https://sourceware.org/bugzilla/show_bug.cgi?id=16950
glibc 2.19,
-MSVC 14, Android 11.
+mingw with UCRT, MSVC 14, Android 11.
@item
This function returns @code{(size_t) -1} instead of @code{(size_t) -2}
when the input is empty:
@item
This function stores a wide character when parsing an incomplete multibyte
character on some platforms:
-MSVC 14.
+mingw with UCRT, MSVC 14.
@item
This function returns the total number of bytes that make up the multibyte
character, not the number of bytes that were needed to complete the multibyte
@itemize
@item
This function is missing on some platforms:
-Minix 3.1.8, HP-UX 11.00, MSVC 14.
+Minix 3.1.8, HP-UX 11.00, mingw with UCRT, MSVC 14.
@item
This function always returns 1, even in multibyte locales, on some platforms:
mingw.
NetBSD 5.1, Cygwin.
@item
This function has problems with infinite arguments on some platforms:
-FreeBSD 6.4, OpenBSD 7.3.
+FreeBSD 6.4, OpenBSD 7.3, mingw with MSVCRT.
@end itemize
Portability problems not fixed by Gnulib:
NetBSD 5.1, OpenBSD 7.5, Solaris 9, Cygwin.
@item
This function has problems with infinite arguments on some platforms:
-mingw.
+mingw with MSVCRT.
@end itemize
Portability problems not fixed by Gnulib:
@item
This functions returns a wrong result for @math{x = 1/2 - 2^-54}
on some platforms:
-NetBSD 3.0, AIX 7.1.
+NetBSD 3.0, AIX 7.1, mingw with MSVCRT.
@end itemize
Portability problems fixed by Gnulib module @code{round-ieee}:
@item
This functions returns a wrong result for @math{x = 1/2 - 2^-25}
on some platforms:
-mingw.
+mingw with MSVCRT.
@end itemize
Portability problems fixed by Gnulib module @code{roundf-ieee}:
@itemize
@item
This function is missing on some platforms:
-NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11.00, Cygwin 1.5.x.
+NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11.00, Cygwin 1.5.x, mingw with UCRT.
@item
This function has a different signature on some platforms:
MSVC 9.
@itemize
@item
This function is missing on many platforms:
-glibc 2.15, macOS 10.14, FreeBSD 11.0, NetBSD 7.1, OpenBSD 6.0, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.3, Cygwin 3.5.x, mingw, MSVC 14, Android 9.0.
+glibc 2.15, macOS 10.14, FreeBSD 11.0, NetBSD 7.1, OpenBSD 6.0, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.3, Cygwin 3.5.x, mingw with MSVCRT, MSVC 14, Android 9.0.
@end itemize
Portability problems not fixed by Gnulib:
Solaris 11.3.
@item
This function does not ignore the second argument when the first argument is NULL on some platforms:
-MSVC 14.
+mingw with UCRT, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib: