From e65a33041adadb114b6c6d55d3ddb86ae2fa51fd Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 6 Jun 2024 12:14:46 +0200 Subject: [PATCH] tzname, daylight, timezone: Update documentation. * doc/posix-functions/tzname.texi: Update info about native Windows. * doc/posix-functions/daylight.texi: Update info about OpenBSD, Cygwin, native Windows. * doc/posix-functions/timezone.texi: Update info about FreeBSD, OpenBSD, native Windows. --- ChangeLog | 9 +++++++++ doc/posix-functions/daylight.texi | 7 +++++-- doc/posix-functions/timezone.texi | 10 +++++++--- doc/posix-functions/tzname.texi | 6 +++--- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index d100238dbd..f5d56af5d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2024-06-06 Bruno Haible + + tzname, daylight, timezone: Update documentation. + * doc/posix-functions/tzname.texi: Update info about native Windows. + * doc/posix-functions/daylight.texi: Update info about OpenBSD, Cygwin, + native Windows. + * doc/posix-functions/timezone.texi: Update info about FreeBSD, OpenBSD, + native Windows. + 2024-06-06 Bruno Haible acl-permissions: Fix test-file-has-acl-2.sh failure on Cygwin. diff --git a/doc/posix-functions/daylight.texi b/doc/posix-functions/daylight.texi index a6e5ce6c56..d5bfecedc1 100644 --- a/doc/posix-functions/daylight.texi +++ b/doc/posix-functions/daylight.texi @@ -14,10 +14,13 @@ Portability problems not fixed by Gnulib: @itemize @item This variable is missing on some platforms: -FreeBSD 14.0, OpenBSD 3.8. +FreeBSD 14.0, OpenBSD 5.7. +@item +This variable is called @code{_daylight} on some platforms: +mingw with @code{-DNO_OLDNAMES}, MSVC. @item The address of this variable is not a compile-time constant on some platforms: -Cygwin, mingw. +mingw, MSVC. @item Native Windows platforms (mingw, MSVC) support only a subset of time zones supported by GNU or specified by POSIX@. @xref{tzset}. diff --git a/doc/posix-functions/timezone.texi b/doc/posix-functions/timezone.texi index b2647c46cd..5c040cab83 100644 --- a/doc/posix-functions/timezone.texi +++ b/doc/posix-functions/timezone.texi @@ -13,11 +13,15 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize @item -This variable is missing on some platforms: -mingw. +This variable is missing (and instead, a function named @code{timezone} exists) +on some platforms: +FreeBSD 14.0, OpenBSD 5.7. +@item +This variable is called @code{_timezone} on some platforms: +mingw with @code{-DNO_OLDNAMES}, MSVC. @item The address of this variable is not a compile-time constant on some platforms: -mingw. +mingw, MSVC. @item Native Windows platforms (mingw, MSVC) support only a subset of time zones supported by GNU or specified by POSIX@. @xref{tzset}. diff --git a/doc/posix-functions/tzname.texi b/doc/posix-functions/tzname.texi index ef3f3d023a..d56ff5c924 100644 --- a/doc/posix-functions/tzname.texi +++ b/doc/posix-functions/tzname.texi @@ -13,11 +13,11 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize @item -This variable is missing on some platforms: -mingw. +This variable is called @code{_tzname} on some platforms: +mingw with @code{-DNO_OLDNAMES}, MSVC. @item The address of this variable is not a compile-time constant on some platforms: -Cygwin, mingw. +Cygwin, mingw, MSVC. @item Native Windows platforms (mingw, MSVC) support only a subset of time zones supported by GNU or specified by POSIX@. @xref{tzset}. -- 2.39.5