cvs: pear-core /PEAR/Command Package.php
| From: | Greg Beaver | Date: | Mon, 21 Feb 2005 17:39:00 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Package.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29625@lists.php.net to get a copy of this message | ||
cellog Mon Feb 21 12:39:00 2005 EDT
Modified files:
/pear-core/PEAR/Command Package.php
Log:
don't die on invalid section headers
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Package.php?r1=1.94&r2=1.95&ty=u
Index: pear-core/PEAR/Command/Package.php
diff -u pear-core/PEAR/Command/Package.php:1.94 pear-core/PEAR/Command/Package.php:1.95
--- pear-core/PEAR/Command/Package.php:1.94 Mon Feb 21 12:31:55 2005
+++ pear-core/PEAR/Command/Package.php Mon Feb 21 12:38:58 2005
@@ -18,7 +18,7 @@
// | Greg Beaver <cellog@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Package.php,v 1.94 2005/02/21 17:31:55 cellog Exp $
+// $Id: Package.php,v 1.95 2005/02/21 17:38:58 cellog Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Packager.php';
@@ -577,7 +577,13 @@
fclose($fp);
}
}
+ PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN);
$result = $run->run($t, $ini_settings);
+ PEAR::staticPopErrorHandling();
+ if (PEAR::isError($result)) {
+ $this->log(0, $result->getMessage());
+ continue;
+ }
if (OS_WINDOWS) {
for($i=0;$i<2000;$i++) {
$i = $i; // delay - race conditions on windows