From: Paul Eggert Date: Tue, 6 Jul 2021 22:08:05 +0000 (-0700) Subject: doc: clarify which module fixes 32-bit time_t X-Git-Tag: v1.0~2785 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=02e7acf2fd065850240fad00c7ad30b90a51fd71;p=gnulib.git doc: clarify which module fixes 32-bit time_t * doc/posix-headers/time.texi: Make it clear that the 32-bit time_t problem is addressed by the year2038 module, not by the time module. --- diff --git a/ChangeLog b/ChangeLog index b00dfd1fd1..3cd55e5ba7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-07-06 Paul Eggert + + doc: clarify which module fixes 32-bit time_t + * doc/posix-headers/time.texi: Make it clear that the 32-bit + time_t problem is addressed by the year2038 module, not + by the time module. + 2021-07-01 Paul Eggert year2038: support glibc 2.34 _TIME_BITS=64 diff --git a/doc/posix-headers/time.texi b/doc/posix-headers/time.texi index b9be347c77..3d81646454 100644 --- a/doc/posix-headers/time.texi +++ b/doc/posix-headers/time.texi @@ -8,12 +8,6 @@ Gnulib module: time Portability problems fixed by Gnulib: @itemize @item -On some platforms where @code{time_t} defaults to 32-bit but can be -changed to 64-bit, functions like @code{stat} can fail with -@code{errno == EOVERFLOW} when a 32-bit timestamp is out of range, -such as with a file timestamp in the far future or past: -glibc 2.34. -@item @samp{struct timespec} is not defined on some platforms. @item The macro @code{TIME_UTC} is not defined on many platforms: @@ -24,6 +18,16 @@ expressions: NetBSD 5.0. @end itemize +Portability problems fixed by the Gnulib module @code{year2038}: +@itemize +@item +On some platforms where @code{time_t} defaults to 32-bit but can be +changed to 64-bit, functions like @code{stat} can fail with +@code{errno == EOVERFLOW} when a 32-bit timestamp is out of range, +such as with a file timestamp in the far future or past: +glibc 2.34. +@end itemize + Portability problems not fixed by Gnulib: @itemize @item