From 8d8007df5e302f7f74faefc0f87983adbbc1c8c8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 6 Jul 2021 15:08:05 -0700 Subject: [PATCH 1/2] 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. --- ChangeLog | 7 +++++++ doc/posix-headers/time.texi | 16 ++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index b00dfd1fd..3cd55e5ba 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 b9be347c7..3d8164645 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 -- 2.30.2