cvs: pearweb /public_html install-pear-nozlib.phar
| From: | Greg Beaver | Date: | Thu, 09 Mar 2006 03:36:12 +0000 |
| Subject: | cvs: pearweb /public_html install-pear-nozlib.phar | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4620@lists.php.net to get a copy of this message | ||
cellog Thu Mar 9 03:36:12 2006 UTC
Modified files:
/pearweb/public_html install-pear-nozlib.phar
Log:
fix potential fatal error, as noted in pear-core/install-pear.php commit
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/install-pear-nozlib.phar?r1=1.10&r2=1.11&diff_format=u
Index: pearweb/public_html/install-pear-nozlib.phar
diff -u pearweb/public_html/install-pear-nozlib.phar:1.10
pearweb/public_html/install-pear-nozlib.phar:1.11
--- pearweb/public_html/install-pear-nozlib.phar:1.10 Tue Mar 7 16:14:23 2006
+++ pearweb/public_html/install-pear-nozlib.phar Thu Mar 9 03:36:11 2006
@@ -637,12 +637,12 @@
require_once 'phar://install-pear-nozlib.phar/index.php';
__HALT_COMPILER();
------++++++ /* vim: set ts=4 sw=4: */
// +----------------------------------------------------------------------+
// | PHP Version 5 |
@@ -5336,7 +5336,7 @@
?>
-/* $Id: install-pear.php,v 1.26 2006/01/02 15:29:03 cellog Exp $ */
+/* $Id: install-pear.php,v 1.26.2.1 2006/03/09 03:21:56 cellog Exp $ */
error_reporting(E_ALL);
$pear_dir = dirname(__FILE__);
@@ -5464,11 +5464,11 @@
foreach ($install_files as $package => $instfile) {
$info = $pkg->fromAnyFile($instfile, PEAR_VALIDATE_INSTALLING);
- $new_ver = $info->getVersion();
if (PEAR::isError($info)) {
$ui->outputData(sprintf("[PEAR] %s: %s", $package, $info->getMessage()));
continue;
}
+ $new_ver = $info->getVersion();
$downloaderpackage = new PEAR_Downloader_Package($installer);
$err = $downloaderpackage->initialize($instfile);
if (PEAR::isError($err)) {