diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-09-29 16:56:12 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-01-02 20:23:18 +0000 |
commit | 2d2a69302b8b56428caeb70044c173bd11ead6ca (patch) | |
tree | 5c451b3b43cf2df024e2e8748d17f1ce6ccc9faf /Configure | |
parent | 271bfc1b1896e4dacbb42bcac93c0ed4cdf411fd (diff) | |
download | perl-2d2a69302b8b56428caeb70044c173bd11ead6ca.tar.gz |
A builtin hard upper bound for sLOCALTIME_max to prevent AIX
from stalling in the tests
p4raw-id: //depot/perl@34444
(cherry picked from commit 5bca5c48fc14b9266d0bbef49a265ce0d735b118)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 @@ -20148,7 +20148,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 |