#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Thu, 20 Oct 2016 16:01:04 +0200
changeset 4176 bf554d531f23
parent 4175 95c1518f25cf
child 4177 65b9a5e50e5e
#BUGFIX by stefan class: ZipArchive changed: #basicAddFile:withContents:compressMethod:asDirectory: fix bug in prev version
ZipArchive.st
--- a/ZipArchive.st	Wed Oct 19 10:53:39 2016 +0200
+++ b/ZipArchive.st	Thu Oct 20 16:01:04 2016 +0200
@@ -4403,7 +4403,7 @@
     ] ifFalse:["theCompressMethod == COMPRESSION_STORED"
         zipEntry compressedSize:zipEntry uncompressedSize.
         theCompressedData := data.
-        compressedDataOffset := 0.
+        compressedDataOffset := 1.
     ].
     
     "/ ensure that the file position is at the end