From: Pierre Joye Date: Sun, 25 Jan 2004 23:42:43 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.5RC2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aef84ceb0033324fc8da4400a62a655004d5d2f3;p=php MFH --- diff --git a/pear/CMD.php b/pear/CMD.php index ea578b29c2..7e82ff24b5 100755 --- a/pear/CMD.php +++ b/pear/CMD.php @@ -1,7 +1,7 @@ _default_error_mode; $setoptions = &$this->_default_error_options; } else { @@ -416,7 +416,7 @@ class PEAR // $error_code is a non-empty array here; // we walk through it trying to unset all // values - foreach($error_code AS $key => $error) { + foreach($error_code as $key => $error) { if ($this->_checkDelExpect($error)) { $deleted = true; } else { @@ -538,7 +538,7 @@ class PEAR * @param string $message * */ - function &throwError($message = null, + function throwError($message = null, $code = null, $userinfo = null) { @@ -568,7 +568,7 @@ class PEAR { $stack = &$GLOBALS['_PEAR_error_handler_stack']; if (isset($this) && - (get_class($this) == 'pear' || is_subclass_of($this, 'pear'))) { + (strtolower(get_class($this)) == 'pear' || is_subclass_of($this, 'PEAR'))) { $def_mode = &$this->_default_error_mode; $def_options = &$this->_default_error_options; } else { @@ -578,7 +578,7 @@ class PEAR $stack[] = array($def_mode, $def_options); if (isset($this) && - (get_class($this) == 'pear' || is_subclass_of($this, 'pear'))) { + (strtolower(get_class($this)) == 'pear' || is_subclass_of($this, 'PEAR'))) { $this->setErrorHandling($mode, $options); } else { PEAR::setErrorHandling($mode, $options); @@ -604,7 +604,7 @@ class PEAR list($mode, $options) = $stack[sizeof($stack) - 1]; array_pop($stack); if (isset($this) && - (get_class($this) == 'pear' || is_subclass_of($this, 'pear'))) { + (strtolower(get_class($this)) == 'pear' || is_subclass_of($this, 'PEAR'))) { $this->setErrorHandling($mode, $options); } else { PEAR::setErrorHandling($mode, $options); diff --git a/pear/System.php b/pear/System.php index 2881a6a17a..1d5cd55aed 100644 --- a/pear/System.php +++ b/pear/System.php @@ -1,7 +1,7 @@ Stig Bakken stig@php.net + + cellog + helper + Greg Beaver + cellog@php.net + 1.2 @@ -28,9 +34,9 @@ short and long options. Fix to preserve BC with 1.0 and allow correct behaviour for new users stable - - - + + + @@ -46,29 +52,29 @@ short and long options. - 0.11 - 2002-05-26 - POSIX getopt compatibility fix: treat first element of args - array as command name - - beta - - - - - - - - 0.10 - 2002-05-12 - Packaging fix - beta - - - 0.9 - 2002-05-12 - Initial release - beta - + 0.11 + 2002-05-26 + POSIX getopt compatibility fix: treat first element of args + array as command name + + beta + + + + + + + + 0.10 + 2002-05-12 + Packaging fix + beta + + + 0.9 + 2002-05-12 + Initial release + beta + - + diff --git a/pear/package-PEAR.xml b/pear/package-PEAR.xml index 16a6b2b88b..bed951bb13 100644 --- a/pear/package-PEAR.xml +++ b/pear/package-PEAR.xml @@ -47,8 +47,8 @@ - 1.3b5 - 2003-12-19 + 1.3b6 + 2004-01-26 beta PEAR Installer: @@ -58,6 +58,7 @@ PEAR Installer: * Bug #248 --force command does not work as expected * Bug #293 [Patch] PEAR_Error not calling static method callbacks for error-handler * Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level) +* Bug #594 PEAR_Common::analyzeSourceCode fails on string with $var and { * Moved download code into its own class * Fully unit tested the installer, packager, downloader, and PEAR_Common @@ -125,8 +126,8 @@ PEAR Installer: Archive_Tar Console_Getopt XML_RPC - xmlrpc xml + pcre diff --git a/pear/package.dtd b/pear/package.dtd index 2474efadfa..0c4c667a5d 100644 --- a/pear/package.dtd +++ b/pear/package.dtd @@ -1,5 +1,5 @@