PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Archive_Zip » Bug #7871

Packing with 'no_compression' works incorrectly

Details

Submitted2006-06-12 12:14 UTC
Frompussygrinder at mail dot ru
StatusSuspended
PackageArchive_Zip
PHP Version5.0.5
OSWinXP
Roadmaps(Not assigned)

Comments

[2006-06-12 12:14 UTC] pussygrinder at mail dot ru

Description:
------------
Archives become corrupted when use packing with 'no_comopresson' option set to 'true'. I solved the promlem by changing

$p_header['compression'] = 8;

to

$p_header['compression'] = ($p_params['no_compression'] ? 0 : 8);

in 'zip.php' file on line 1429.