From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
020d01c6177b$087b1c60$4c05140a@myopwv.com>
p4raw-id: //depot/perl@26800
my $mtime ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
# make sure that the gzip file isn't created in the same
# second as the input file
sleep 3 ;
title "Override Name" ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
sleep 3 ;
$hdr = gzipGetHeader($file1, $content, Name => "abcde");
my $mtime ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
# make sure that the zip file isn't created in the same
# second as the input file
sleep 3 ;
title "Override Name" ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
sleep 3 ;
$hdr = zipGetHeader($file1, $content, Name => "abcde");