Drop unneed part of header which causes troubles to some programs (bug #1037737).
This commit is contained in:
@@ -28,6 +28,8 @@ $Source$
|
|||||||
#1039193).
|
#1039193).
|
||||||
* server_privileges.php: Make non-js checkall work also for adding new
|
* server_privileges.php: Make non-js checkall work also for adding new
|
||||||
user (bug #1028055).
|
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 <lem9@users.sourceforge.net>
|
2004-10-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/turkish update, thanks to boralioglu.
|
* lang/turkish update, thanks to boralioglu.
|
||||||
|
@@ -124,9 +124,11 @@ class zipfile
|
|||||||
|
|
||||||
// "data descriptor" segment (optional but necessary if archive is not
|
// "data descriptor" segment (optional but necessary if archive is not
|
||||||
// served as file)
|
// served as file)
|
||||||
$fr .= pack('V', $crc); // crc32
|
// nijel(2004-10-19): this seems not to be needed at all and causes
|
||||||
$fr .= pack('V', $c_len); // compressed filesize
|
// problems in some cases (bug #1037737)
|
||||||
$fr .= pack('V', $unc_len); // uncompressed filesize
|
//$fr .= pack('V', $crc); // crc32
|
||||||
|
//$fr .= pack('V', $c_len); // compressed filesize
|
||||||
|
//$fr .= pack('V', $unc_len); // uncompressed filesize
|
||||||
|
|
||||||
// add this entry to array
|
// add this entry to array
|
||||||
$this -> datasec[] = $fr;
|
$this -> datasec[] = $fr;
|
||||||
|
Reference in New Issue
Block a user