diff options
author | Steve Hay <SteveHay@planit.com> | 2005-08-11 11:56:26 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-08-11 11:56:26 +0000 |
commit | 734c7f37126dfb8ae378e46a71a7aae194665a99 (patch) | |
tree | 0c4e19f20d539c64f026b5dfeda271ce6ed145e6 /lib/Time | |
parent | 79d39d80fa16b653583e8ed419a151c2c3bc72fd (diff) | |
download | perl-734c7f37126dfb8ae378e46a71a7aae194665a99.tar.gz |
Fix lib/Time/Local.t for bcc32 in non GMT time zones
See comments at:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-08/msg00115.html
p4raw-id: //depot/perl@25287
Diffstat (limited to 'lib/Time')
-rwxr-xr-x | lib/Time/Local.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Time/Local.t b/lib/Time/Local.t index b2c1215ca5..ed23fca223 100755 --- a/lib/Time/Local.t +++ b/lib/Time/Local.t @@ -61,6 +61,13 @@ if ($^O eq 'VMS') { $neg_epoch_ok = 0; # time_t is unsigned } +# Borland compiler sets $neg_epoch_ok differently depending on the +# current Time Zone in use on the machine, but it should always be +# set to 0. +if ($^O eq 'MSWin32' and $Config{ccname} eq 'bcc32') { + $neg_epoch_ok = 0; +} + my $tests = (@time * 12); $tests += @neg_time * 12; $tests += @bad_time; |