From 95c48427331ed79ae6363ff64638b61c76850758 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 15 Jan 2016 16:12:03 +0000 Subject: [PATCH] doc: mention unfixed issues with unsupported localtime() values Note perl has configure time checks in place to avoid this. * doc/posix-functions/localtime.texi: Mention that FreeBSD 10 returns nonsense for localtime(2^56). * doc/posix-functions/localtime_r.texi: Likewise. --- ChangeLog | 7 +++++++ doc/posix-functions/localtime.texi | 3 +++ doc/posix-functions/localtime_r.texi | 3 +++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 27de5886c9..bf678c25c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-01-15 Pádraig Brady + + doc: mention unfixed issues with unsupported localtime() values + * doc/posix-functions/localtime.texi: Mention that FreeBSD 10 + returns nonsense for localtime(2^56). + * doc/posix-functions/localtime_r.texi: Likewise. + 2016-01-14 Pádraig Brady doc: mention setlocale() issues on OpenBSD diff --git a/doc/posix-functions/localtime.texi b/doc/posix-functions/localtime.texi index 27af6e8a67..fc15c268f4 100644 --- a/doc/posix-functions/localtime.texi +++ b/doc/posix-functions/localtime.texi @@ -12,4 +12,7 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +On some platforms, this function returns nonsense values for +unsupported arguments (like @math{2^56}), rather than failing: +FreeBSD 10. @end itemize diff --git a/doc/posix-functions/localtime_r.texi b/doc/posix-functions/localtime_r.texi index 909a41dc56..d12bdefed5 100644 --- a/doc/posix-functions/localtime_r.texi +++ b/doc/posix-functions/localtime_r.texi @@ -22,4 +22,7 @@ HP-UX 10. Portability problems not fixed by Gnulib: @itemize +On some platforms, this function returns nonsense values for +unsupported arguments (like @math{2^56}), rather than failing: +FreeBSD 10. @end itemize -- 2.39.5