From 02e7acf2fd065850240fad00c7ad30b90a51fd71 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 6 Jul 2021 15:08:05 -0700 Subject: 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. --- doc/posix-headers/time.texi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'doc/posix-headers') 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 -- cgit v1.2.1