Bug #53854 [Csd->Asn]: Missing constants for compression type.
| From: | pajoye@php.net | Date: | Fri, 28 Jan 2011 06:43:12 +0000 |
| Subject: | Bug #53854 [Csd->Asn]: Missing constants for compression type. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158259@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53854&edit=1
ID: 53854
Updated by: pajoye@php.net
Reported by: rquadling@php.net
Summary: Missing constants for compression type.
-Status: Closed
+Status: Assigned
Type: Bug
Package: Zip Related
Operating System: n/a
PHP Version: 5.3SVN-2011-01-27 (SVN)
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
Are you sure all compression modes are implemented? I don't think they
are, afair
that's also why I did not add them.
Previous Comments:
------------------------------------------------------------------------
[2011-01-28 05:19:55] aharvey@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2011-01-28 05:19:43] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=307807
Log: Fixed bug #53854 (Missing constants for compression type). Patch by
Richard
Quadling.
------------------------------------------------------------------------
[2011-01-27 14:55:29] rquadling@php.net
The following patch has been added/updated:
Patch Name: missing_zip_constants.patch
Revision: 1296136529
URL:
http://bugs.php.net/patch-display.php?bug=53854&patch=missing_zip_constants.patch&revision=1296136529
------------------------------------------------------------------------
[2011-01-27 14:54:59] rquadling@php.net
Description:
------------
ext/zip internally uses several constants to identify the nature of the
compressed
content.
Not all of these are exposed, though one of them is documented
(ZipArchive::CM_BZIP2).
The attached patch for ext/zip/php_zip.c adds the missing constants.
Once this is committed, I can update the documentation with the others
(LZMA,
TERSE, LZ77, WAVPACK and PPMD).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53854&edit=1