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 27de588..bf678c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-01-15 P??draig Brady <[email protected]> + + 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 <[email protected]> doc: mention setlocale() issues on OpenBSD diff --git a/doc/posix-functions/localtime.texi b/doc/posix-functions/localtime.texi index 27af6e8..fc15c26 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 909a41d..d12bdef 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.5.0
