cvs: pear /PHP_Archive Archive.php
| From: | Greg Beaver | Date: | Tue, 03 Jan 2006 04:56:58 +0000 |
| Subject: | cvs: pear /PHP_Archive Archive.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37276@lists.php.net to get a copy of this message | ||
cellog Tue Jan 3 04:56:58 2006 UTC
Modified files:
/pear/PHP_Archive Archive.php
Log:
remove unneeded fstat()
http://cvs.php.net/viewcvs.cgi/pear/PHP_Archive/Archive.php?r1=1.23&r2=1.24&diff_format=u
Index: pear/PHP_Archive/Archive.php
diff -u pear/PHP_Archive/Archive.php:1.23 pear/PHP_Archive/Archive.php:1.24
--- pear/PHP_Archive/Archive.php:1.23 Mon Dec 19 22:18:04 2005
+++ pear/PHP_Archive/Archive.php Tue Jan 3 04:56:58 2006
@@ -15,11 +15,11 @@
*
* Gz code borrowed from the excellent File_Archive package by Vincent Lascaux.
*
- * @copyright Copyright © David Shafik and Synaptic Media 2004. All rights reserved.
+ * @copyright Copyright David Shafik and Synaptic Media 2004. All rights reserved.
* @author Davey Shafik <davey@synapticmedia.net>
* @author Greg Beaver <cellog@php.net>
* @link http://www.synapticmedia.net Synaptic Media
- * @version $Id: Archive.php,v 1.23 2005/12/19 22:18:04 cellog Exp $
+ * @version $Id: Archive.php,v 1.24 2006/01/03 04:56:58 cellog Exp $
* @package PHP_Archive
* @category PHP
*/
@@ -214,7 +214,6 @@
public function extractFile($path)
{
$this->fp = @fopen($this->_archiveName, "rb");
- $stat = fstat($this->fp);
if (!$this->fp) {
return array('Error: cannot open phar "' . $this->_archiveName .
'"');
}