aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2009-01-29 15:07:35 -0500
committerpabs <pabs@pablotron.org>2009-01-29 15:07:35 -0500
commit4b92594a2bb902a44fc614aac65c3e5a35213597 (patch)
treecb74e8b39950af2ba5b5cda3c645031d3a2c7287
parentb9f77eb714720994ea3d1f04078fe28785db3990 (diff)
downloadzipstream-php-4b92594a2bb902a44fc614aac65c3e5a35213597.tar.bz2
zipstream-php-4b92594a2bb902a44fc614aac65c3e5a35213597.zip
last windows test
-rw-r--r--zipstream.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/zipstream.php b/zipstream.php
index 376430d..445d689 100644
--- a/zipstream.php
+++ b/zipstream.php
@@ -295,7 +295,7 @@ class ZipStream {
# build file header
$fields = array( # (from V.A of APPNOTE.TXT)
array('V', 0x04034b50), # local file header signature
- array('v', 63), # version needed to extract
+ array('v', 0x14), # version needed to extract
array('v', 0x00), # general purpose bit flag
array('v', $meth), # compresion method (deflate or store)
array('V', $dts), # dos timestamp
@@ -408,7 +408,7 @@ class ZipStream {
$fields = array( # (from V,F of APPNOTE.TXT)
array('V', 0x02014b50), # central file header signature
- array('v', (3 << 8) & 63), # version made by
+ array('v', 0x14), # version made by
array('v', 63), # version needed to extract
array('v', 0x00), # general purpose bit flag
array('v', $meth), # compresion method (deflate or store)