cvs: php4 /pear/PEAR Common.php
| From: | Tomas V.V.Cox | Date: | Tue, 21 May 2002 02:31:24 +0000 |
| Subject: | cvs: php4 /pear/PEAR Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3999@lists.php.net to get a copy of this message | ||
cox Mon May 20 22:31:24 2002 EDT
Modified files:
/php4/pear/PEAR Common.php
Log:
Some minor error verbosity updates
Index: php4/pear/PEAR/Common.php
diff -u php4/pear/PEAR/Common.php:1.61 php4/pear/PEAR/Common.php:1.62
--- php4/pear/PEAR/Common.php:1.61 Mon May 20 21:20:51 2002
+++ php4/pear/PEAR/Common.php Mon May 20 22:31:23 2002
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.61 2002/05/21 01:20:51 ssb Exp $
+// $Id: Common.php,v 1.62 2002/05/21 02:31:23 cox Exp $
require_once 'PEAR.php';
require_once 'Archive/Tar.php';
@@ -636,7 +636,7 @@
function infoFromTgzFile($file)
{
if (!@is_file($file)) {
- return $this->raiseError('tgz :: could not open file');
+ return $this->raiseError("tgz :: could not open file
\"$file\"");
}
if (substr($file, -4) == '.tar') {
$compress = false;
@@ -646,7 +646,7 @@
$tar = new Archive_Tar($file, $compress);
$content = $tar->listContent();
if (!is_array($content)) {
- return $this->raiseError('tgz :: could not get contents of package');
+ return $this->raiseError("tgz :: could not get contents of package
\"$file\"");
}
$xml = null;
foreach ($content as $file) {