summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-29 16:56:12 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-29 16:56:12 +0000
commit5bca5c48fc14b9266d0bbef49a265ce0d735b118 (patch)
tree9e51a320ea1902876885db5502ac395d2521e7fc /Configure
parent690aedd128c9ed6a5a1b6c64bb938278029bbacb (diff)
downloadperl-5bca5c48fc14b9266d0bbef49a265ce0d735b118.tar.gz
A builtin hard upper bound for sLOCALTIME_max to prevent AIX
from stalling in the tests p4raw-id: //depot/perl@34444
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/Configure b/Configure
index 0b8eb7e8be..9e93cc4878 100755
--- a/Configure
+++ b/Configure
@@ -25,7 +25,7 @@
# $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $
#
-# Generated on Mon Sep 29 18:14:44 CEST 2008 [metaconfig 3.5 PL0]
+# Generated on Mon Sep 29 18:55:08 CEST 2008 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -20122,7 +20122,10 @@ time_t pt;
void local_check (time_t t)
{
- tmp = localtime (&t);
+ if (sizeof (time_t) > 4 && t > 0x7ffffffffffff000LL)
+ tmp = NULL;
+ else
+ tmp = localtime (&t);
if (tmp == NULL || tmp->tm_year < -1900)
tmp = NULL;
else