diff --git a/ChangeLog b/ChangeLog index eee8e3ad2..5ce021e8d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,8 @@ $Source$ #1039193). * server_privileges.php: Make non-js checkall work also for adding new user (bug #1028055). + * libraries/zip.lib.php: Drop unneed part of header which causes troubles + to some programs (bug #1037737). 2004-10-17 Marc Delisle * lang/turkish update, thanks to boralioglu. diff --git a/libraries/zip.lib.php b/libraries/zip.lib.php index 8a8f02905..b29435fb6 100644 --- a/libraries/zip.lib.php +++ b/libraries/zip.lib.php @@ -124,9 +124,11 @@ class zipfile // "data descriptor" segment (optional but necessary if archive is not // served as file) - $fr .= pack('V', $crc); // crc32 - $fr .= pack('V', $c_len); // compressed filesize - $fr .= pack('V', $unc_len); // uncompressed filesize + // nijel(2004-10-19): this seems not to be needed at all and causes + // problems in some cases (bug #1037737) + //$fr .= pack('V', $crc); // crc32 + //$fr .= pack('V', $c_len); // compressed filesize + //$fr .= pack('V', $unc_len); // uncompressed filesize // add this entry to array $this -> datasec[] = $fr;