|
cvs: php4 /pear PEAR.php: msg#00574php.cvs.pear
mj Wed Sep 25 13:36:24 2002 EDT Modified files: /php4/pear PEAR.php Log: * Fix bug #19269. This patch makes popErrorHandling() pop the first _two_ elements from the error handler stack to prevent un-necessary memory consumption. # Patch by: jrust (at) rustyparts (dot) com Index: php4/pear/PEAR.php diff -u php4/pear/PEAR.php:1.47 php4/pear/PEAR.php:1.48 --- php4/pear/PEAR.php:1.47 Sun Jul 21 03:04:45 2002 +++ php4/pear/PEAR.php Wed Sep 25 13:36:24 2002 @@ -18,7 +18,7 @@ // | Tomas V.V.Cox <cox@xxxxxxxxxxx> | // +----------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.47 2002/07/21 07:04:45 ssb Exp $ +// $Id: PEAR.php,v 1.48 2002/09/25 17:36:24 mj Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -583,6 +583,7 @@ $stack = &$GLOBALS['_PEAR_error_handler_stack']; array_pop($stack); list($mode, $options) = $stack[sizeof($stack) - 1]; + array_pop($stack); if (isset($this)) { $this->setErrorHandling($mode, $options); } else { -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pear /MDB/unittest MDB_usage_testcase.php: 00574, Paul Gregory Cooper |
|---|---|
| Next by Date: | cvs: pear /DBA DBA.php package.xml /DBA/DBA Compatibility.php /DBA/DBA/Driver Builtin.php File.php /DBA/tests benchmark_drivers.php test_file_driver.php: 00574, Brent Cook |
| Previous by Thread: | cvs: pear /XML_Transformer README package.xml /XML_Transformer/Transformer Cache.php OutputBuffer.php /XML_Transformer/Transformer/Driver Cache.php OutputBuffer.phpi: 00574, Sebastian Bergmann |
| Next by Thread: | cvs: pear /DBA DBA.php package.xml /DBA/DBA Compatibility.php /DBA/DBA/Driver Builtin.php File.php /DBA/tests benchmark_drivers.php test_file_driver.php: 00574, Brent Cook |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |