cvs: pear /File_Archive/Archive/Reader Uncompress.php

From: Date: Sun, 22 May 2005 21:26:54 +0000
Subject: cvs: pear /File_Archive/Archive/Reader Uncompress.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32015@lists.php.net to get a copy of this message
vincentlascaux Sun May 22 17:26:54 2005 EDT Modified files: /pear/File_Archive/Archive/Reader Uncompress.php Log: Fix a bug: the uncompress reader read nested file even if the uncompression level was reached http://cvs.php.net/diff.php/pear/File_Archive/Archive/Reader/Uncompress.php?r1=1.21&r2=1.22&ty=u Index: pear/File_Archive/Archive/Reader/Uncompress.php diff -u pear/File_Archive/Archive/Reader/Uncompress.php:1.21 pear/File_Archive/Archive/Reader/Uncompress.php:1.22 --- pear/File_Archive/Archive/Reader/Uncompress.php:1.21 Fri May 13 19:32:25 2005 +++ pear/File_Archive/Archive/Reader/Uncompress.php Sun May 22 17:26:54 2005 @@ -25,7 +25,7 @@ * @author Vincent Lascaux <vincentlascaux@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version CVS: $Id: Uncompress.php,v 1.21 2005/05/13 23:32:25 vincentlascaux Exp $ + * @version CVS: $Id: Uncompress.php,v 1.22 2005/05/22 21:26:54 vincentlascaux Exp $ * @link http://pear.php.net/package/File_Archive */ @@ -99,7 +99,7 @@ { if ($this->uncompressionLevel >= 0 && $this->baseDirCompressionLevel !== null && - $this->uncompressionLevel + $this->baseDirCompressionLevel <= count($this->readers) + $this->uncompressionLevel >= count($this->readers) ) { return false; }

« previous php.pear.cvs (#32015) next »