Subject: | Calling ->overwrite() a second time renders a format error |
Simply calling ->overwrite a second time produces:
format error: bad signature: 0x4b502072 at offset 157 in file /tmp/jUUPRcL1N8/1_1_pretend.jar
at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip.pm line 474
Archive::Zip::_readSignature('IO::File=GLOB(0x17b7ee8)', '/tmp/jUUPRcL1N8/1_1_pretend.jar', 67324752) called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/ZipFileMember.pm line 71
Archive::Zip::ZipFileMember::_seekToLocalHeader('Archive::Zip::ZipFileMember=HASH(0x17b77e0)') called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/ZipFileMember.pm line 397
Archive::Zip::ZipFileMember::rewindData('Archive::Zip::ZipFileMember=HASH(0x17b77e0)') called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/Member.pm line 1084
Archive::Zip::Member::_writeToFileHandle('Archive::Zip::ZipFileMember=HASH(0x17b77e0)', 'IO::File=GLOB(0x17b7de0)', 1, 0) called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/Archive.pm line 428
Archive::Zip::Archive::writeToFileHandle('Archive::Zip::Archive=HASH(0x177c308)', 'IO::File=GLOB(0x17b7de0)') called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/Archive.pm line 464
Archive::Zip::Archive::overwriteAs('Archive::Zip::Archive=HASH(0x177c308)', '/tmp/jUUPRcL1N8/1_1_pretend.jar') called at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/Archive.pm line 448
Archive::Zip::Archive::overwrite('Archive::Zip::Archive=HASH(0x177c308)') called at /tmp/arczip.pl line 38
Can't write to /tmp/oCzs7CZNp3.zip
at /home/kent/.perlbrew/libs/perl-5.14.2@dzil_dev/lib/perl5/Archive/Zip/Archive.pm line 448
Archive::Zip::Archive::overwrite('Archive::Zip::Archive=HASH(0x177c308)') called at /tmp/arczip.pl line 38
The Zip file is inlined as an escaped string.
Subject: | arczip.pl |