diff options
| author | Greg Beaver <cellog@php.net> | 2008-10-26 05:51:04 +0000 |
|---|---|---|
| committer | Greg Beaver <cellog@php.net> | 2008-10-26 05:51:04 +0000 |
| commit | 1699efd72b2e91290a10f62500b7c6fd0175e43a (patch) | |
| tree | 534bbf174db7c3d0ec0ee50731225f4ca28eb60c | |
| parent | 329229071f8007f920cdd77029de0ae9f0b96c32 (diff) | |
| download | php-git-1699efd72b2e91290a10f62500b7c6fd0175e43a.tar.gz | |
last commit was an old patch, revert faulty line
| -rw-r--r-- | ext/phar/phar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 0db27db34e..45c999a5af 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -1035,7 +1035,6 @@ static int phar_parse_pharfile(php_stream *fp, char *fname, int fname_len, char /* check whether we have meta data, zero check works regardless of byte order */ if (mydata->is_persistent) { PHAR_GET_32(buffer, mydata->metadata_len); - if (!mydata->metadata_len) buffer -= 4; if (phar_parse_metadata(&buffer, &mydata->metadata, mydata->metadata_len TSRMLS_CC) == FAILURE) { MAPPHAR_FAIL("unable to read phar metadata in .phar file \"%s\""); } |
