PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Archive_Tar » Bug #2488

Syntax error

Details

Submitted2004-10-10 09:25 UTC
Frommarkciliavincenti at gmail dot com
Assignedvblavet
StatusClosed
PackageArchive_Tar
PHP Version5.0.1
OSWindows XP SP1
Roadmaps(Not assigned)

Comments

[2004-10-10 09:25 UTC] markciliavincenti at gmail dot com

Description:
------------
In Tar.php v1.19, line 1439 reads:

$this->_error('Extracted file '.$v_header['filename'].' does not have the correct file size \''.filesize($v_filename).'\' ('.$v_header['size'].' expected). Archive may be corrupted.');

this should read:

$this->_error('Extracted file '.$v_header['filename'].' does not have the correct file size \''.filesize($v_header['filename']).'\' ('.$v_header['size'].' expected). Archive may be corrupted.');

since $v_filename does not exist.