summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-12-31 19:14:49 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-12-31 19:15:11 -0800
commitdd49d2f988df02070f586a2a017ce48bb1de8aec (patch)
tree42cf61858ba57a316bdc2ddfbe9895e00b7980ab /doc
parent3ea6fc6e6c5c00ff2170b47f734dd6470e4e4fb2 (diff)
downloadgnulib-dd49d2f988df02070f586a2a017ce48bb1de8aec.tar.gz
doc: mention year-0 bugs in Solaris etc.
* doc/posix-functions/gmtime.texi, doc/posix-functions/gmtime_r.texi: * doc/posix-functions/localtime.texi: * doc/posix-functions/localtime_r.texi: * doc/posix-functions/mktime.texi: Mention year-0 bugs in localtime etc.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/gmtime.texi4
-rw-r--r--doc/posix-functions/gmtime_r.texi4
-rw-r--r--doc/posix-functions/localtime.texi4
-rw-r--r--doc/posix-functions/localtime_r.texi4
-rw-r--r--doc/posix-functions/mktime.texi4
5 files changed, 20 insertions, 0 deletions
diff --git a/doc/posix-functions/gmtime.texi b/doc/posix-functions/gmtime.texi
index 64d4f7df78..7590fe9108 100644
--- a/doc/posix-functions/gmtime.texi
+++ b/doc/posix-functions/gmtime.texi
@@ -12,4 +12,8 @@ Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
@itemize
+@item
+On some platforms, this function yields incorrect values for
+timestamps before the year 1:
+MacOS X 10.5, Solaris 11.3.
@end itemize
diff --git a/doc/posix-functions/gmtime_r.texi b/doc/posix-functions/gmtime_r.texi
index 7e280186ed..af815af834 100644
--- a/doc/posix-functions/gmtime_r.texi
+++ b/doc/posix-functions/gmtime_r.texi
@@ -19,4 +19,8 @@ HP-UX 11.
Portability problems not fixed by Gnulib:
@itemize
+@item
+On some platforms, this function yields incorrect values for
+timestamps before the year 1:
+MacOS X 10.5, Solaris 11.3.
@end itemize
diff --git a/doc/posix-functions/localtime.texi b/doc/posix-functions/localtime.texi
index 040102b9bc..0cad93c1b2 100644
--- a/doc/posix-functions/localtime.texi
+++ b/doc/posix-functions/localtime.texi
@@ -25,6 +25,10 @@ On some platforms, this function returns nonsense values for
unsupported arguments (like @math{2^56}), rather than failing:
FreeBSD 10.
@item
+On some platforms, this function yields incorrect values for
+timestamps before the year 1:
+MacOS X 10.5, Solaris 11.3.
+@item
Native Windows platforms (mingw, MSVC) support only a subset of time
zones supported by GNU or specified by POSIX@. @xref{tzset}.
@end itemize
diff --git a/doc/posix-functions/localtime_r.texi b/doc/posix-functions/localtime_r.texi
index 420bc2ee1a..fd484f8d4f 100644
--- a/doc/posix-functions/localtime_r.texi
+++ b/doc/posix-functions/localtime_r.texi
@@ -28,4 +28,8 @@ You can use the @code{time_rz} module to work around the problem.
On some platforms, this function returns nonsense values for
unsupported arguments (like @math{2^56}), rather than failing:
FreeBSD 10.
+@item
+On some platforms, this function yields incorrect values for
+timestamps before the year 1:
+MacOS X 10.5, Solaris 11.3.
@end itemize
diff --git a/doc/posix-functions/mktime.texi b/doc/posix-functions/mktime.texi
index bf4be18366..a7713b5a0e 100644
--- a/doc/posix-functions/mktime.texi
+++ b/doc/posix-functions/mktime.texi
@@ -20,6 +20,10 @@ when the environment variable @code{TZ} has been set by Cygwin.
Portability problems not fixed by Gnulib:
@itemize
@item
+On some platforms, this function yields incorrect values for
+timestamps before the year 1:
+MacOS X 10.5, Solaris 11.3.
+@item
Native Windows platforms (mingw, MSVC) support only a subset of time
zones supported by GNU or specified by POSIX@. @xref{tzset}.
@end itemize