mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
phar: Remove obsoleted workaround code (#20136)
This commit is contained in:
@@ -641,13 +641,6 @@ foundit:
|
||||
|
||||
zend_off_t restore_pos = php_stream_tell(fp);
|
||||
php_stream_seek(fp, entry.offset, SEEK_SET);
|
||||
/* these next lines should be for php < 5.2.6 after 5.3 filters are fixed */
|
||||
fp->writepos = 0;
|
||||
fp->readpos = 0;
|
||||
php_stream_seek(fp, entry.offset, SEEK_SET);
|
||||
fp->writepos = 0;
|
||||
fp->readpos = 0;
|
||||
/* the above lines should be for php < 5.2.6 after 5.3 filters are fixed */
|
||||
|
||||
mydata->alias_len = entry.uncompressed_filesize;
|
||||
if (entry.flags & PHAR_ENT_COMPRESSED_GZ) {
|
||||
|
||||
Reference in New Issue
Block a user