From: Greg Beaver Date: Wed, 24 Jan 2007 04:38:19 +0000 (+0000) Subject: remove unused constants, note addition of docs in TODO X-Git-Tag: RELEASE_1_0_0RC1~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffcf9f5de4446b74dd4ab23c3068271369dd2953;p=php remove unused constants, note addition of docs in TODO --- diff --git a/ext/phar/TODO b/ext/phar/TODO index e24ce132bb..d8c5f8c53e 100644 --- a/ext/phar/TODO +++ b/ext/phar/TODO @@ -10,7 +10,7 @@ Version 1.0.0 class PharFileInfo completely [Marcus] * implement in-phar locking, so that a file that is opened for reading can't have a handle opened for writing - * docs on file format/manifest description + X docs on file format/manifest description * docs on uses X stream context for specifying compression of a file [Marcus] * stream context for specifying meta-data diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index b1e9d2c53d..c86d17707b 100755 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -76,15 +76,6 @@ #define PHAR_SIG_USE PHAR_SIG_SHA1 -/* metadata type constants */ - -#define PHAR_METADATA_FINISHED 0x00000000 - -/* basic meta-data types */ -#define PHAR_METADATA_STRING 0x00000001 -#define PHAR_METADATA_INT 0x00000002 -#define PHAR_METADATA_BOOL 0x00000003 - /* flags byte for each file adheres to these bitmasks. All unused values are reserved */ #define PHAR_ENT_COMPRESSION_MASK 0x0000F000