Craig A. Berry [Sat, 23 Apr 2005 18:25:52 +0000 (13:25 -0500)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
426AD980.2010801@mac.com>
p4raw-id: //depot/perl@24310
my $neg_epoch_ok = defined ((localtime(-3600))[0]) ? 1 : 0;
# use vmsish 'time' makes for oddness around the Unix epoch
-if ($^O eq 'VMS') { $time[0][2]++ }
+if ($^O eq 'VMS') {
+ $time[0][2]++;
+ $neg_epoch_ok = 0; # time_t is unsigned
+}
my $tests = (@time * 12);
$tests += @neg_time * 12;