summaryrefslogtreecommitdiff
path: root/ext/Compress/Zlib
diff options
context:
space:
mode:
authorPaul Marquess <paul.marquess@btinternet.com>2006-01-12 13:20:58 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-12 13:25:15 +0000
commit204a02c3bb41f1a9dfbf1a39c8a753f29e9a6c72 (patch)
treea3efa0deca547b4e476040d1fcc8a9d41c3fc1b5 /ext/Compress/Zlib
parent6c047da72dad550fab936255d6cbaaeab43399d2 (diff)
downloadperl-204a02c3bb41f1a9dfbf1a39c8a753f29e9a6c72.tar.gz
Compress::Zlib
From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <020d01c6177b$087b1c60$4c05140a@myopwv.com> p4raw-id: //depot/perl@26800
Diffstat (limited to 'ext/Compress/Zlib')
-rw-r--r--ext/Compress/Zlib/t/16oneshot-gzip-only.t4
-rw-r--r--ext/Compress/Zlib/t/16oneshot-zip-only.t4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/Compress/Zlib/t/16oneshot-gzip-only.t b/ext/Compress/Zlib/t/16oneshot-gzip-only.t
index d5c7b80f00..80932192fd 100644
--- a/ext/Compress/Zlib/t/16oneshot-gzip-only.t
+++ b/ext/Compress/Zlib/t/16oneshot-gzip-only.t
@@ -70,7 +70,7 @@ sub gzipGetHeader
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 ;
@@ -82,7 +82,7 @@ sub gzipGetHeader
title "Override Name" ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
sleep 3 ;
$hdr = gzipGetHeader($file1, $content, Name => "abcde");
diff --git a/ext/Compress/Zlib/t/16oneshot-zip-only.t b/ext/Compress/Zlib/t/16oneshot-zip-only.t
index 38a91f4fa1..5c8f3c339d 100644
--- a/ext/Compress/Zlib/t/16oneshot-zip-only.t
+++ b/ext/Compress/Zlib/t/16oneshot-zip-only.t
@@ -70,7 +70,7 @@ sub zipGetHeader
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 ;
@@ -82,7 +82,7 @@ sub zipGetHeader
title "Override Name" ;
writeFile($file1, $content);
- $mtime = (stat($file1))[8];
+ $mtime = (stat($file1))[9];
sleep 3 ;
$hdr = zipGetHeader($file1, $content, Name => "abcde");