summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2008-10-04 18:24:54 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-03 18:39:16 +0100
commit461d5a49bcaf1bdc023edb10ef9b6c0606ec0131 (patch)
treeb320c5fc7d5618b148e9437543445ba6ec23e764 /pod/perlport.pod
parentb86b480f7301a8816081189c89b366a79ab9909f (diff)
downloadperl-461d5a49bcaf1bdc023edb10ef9b6c0606ec0131.tar.gz
Update from y2038.
Add trace code. Fix implied negative time in localtie64_r(). This fixes Windows. Put in some more tests around small negative and positive times to try and catch the above. Explain the loss of accuracy due to use of doubles in perlport.
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r--pod/perlport.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 8a72de246f..ff1ba39675 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -1860,7 +1860,10 @@ platforms. See L<File::Glob> for portability information.
=item gmtime
-gmtime() has a range of about 2 billion years before and after 1970.
+In theory, gmtime() is reliable from -2**63 to 2**63-1. However,
+because work arounds in the implementation use floating point numbers,
+it will become inaccurate as the time gets larger. This is a bug and
+will be fixed in the future.
=item ioctl FILEHANDLE,FUNCTION,SCALAR