changeset 18210:468ad00697fb

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.
author Pádraig Brady <P@draigBrady.com>
date Fri, 15 Jan 2016 16:12:03 +0000
parents ac0e7e95a996
children 1a33aa634b0d
files ChangeLog doc/posix-functions/localtime.texi doc/posix-functions/localtime_r.texi
diffstat 3 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 14 22:05:19 2016 -0800
+++ b/ChangeLog	Fri Jan 15 16:12:03 2016 +0000
@@ -1,3 +1,10 @@
+2016-01-15  Pádraig Brady  <P@draigBrady.com>
+
+	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  <P@draigBrady.com>
 
 	doc: mention setlocale() issues on OpenBSD
--- a/doc/posix-functions/localtime.texi	Thu Jan 14 22:05:19 2016 -0800
+++ b/doc/posix-functions/localtime.texi	Fri Jan 15 16:12:03 2016 +0000
@@ -12,4 +12,7 @@
 
 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
--- a/doc/posix-functions/localtime_r.texi	Thu Jan 14 22:05:19 2016 -0800
+++ b/doc/posix-functions/localtime_r.texi	Fri Jan 15 16:12:03 2016 +0000
@@ -22,4 +22,7 @@
 
 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