cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Setup.inc.php /PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Mon, 27 Feb 2006 22:29:13 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Setup.inc.php /PhpDocumentor/scripts create_package.xml.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38710@lists.php.net to get a copy of this message | ||
cellog Mon Feb 27 22:29:13 2006 UTC
Modified files:
/pear/PhpDocumentor package.xml package2.xml
/pear/PhpDocumentor/phpDocumentor Setup.inc.php
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix sourceforge bug
[ 1079637 ] Use of realpath() leads to empty $dir
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.32&r2=1.33&diff_format=u
Index: pear/PhpDocumentor/package.xml
diff -u pear/PhpDocumentor/package.xml:1.32 pear/PhpDocumentor/package.xml:1.33
--- pear/PhpDocumentor/package.xml:1.32 Mon Feb 27 20:56:09 2006
+++ pear/PhpDocumentor/package.xml Mon Feb 27 22:29:12 2006
@@ -146,6 +146,7 @@
[ 1016927 ] no highlight for paramtype in header of function
[ 1044486 ] duplicate parameters
[ 1051941 ] private variables on same line not recognized
+ [ 1079637 ] Use of realpath() leads to empty $dir
[ 1108018 ] Bad source code after /**#@-*/
[ 1145403 ] Call to a member function on a non-object
[ 1150809 ] Infinite loop when class extends itself
@@ -2450,6 +2451,7 @@
[ 1016927 ] no highlight for paramtype in header of function
[ 1044486 ] duplicate parameters
[ 1051941 ] private variables on same line not recognized
+ [ 1079637 ] Use of realpath() leads to empty $dir
[ 1108018 ] Bad source code after /**#@-*/
[ 1145403 ] Call to a member function on a non-object
[ 1150809 ] Infinite loop when class extends itself
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.24&r2=1.25&diff_format=u
Index: pear/PhpDocumentor/package2.xml
diff -u pear/PhpDocumentor/package2.xml:1.24 pear/PhpDocumentor/package2.xml:1.25
--- pear/PhpDocumentor/package2.xml:1.24 Mon Feb 27 20:56:09 2006
+++ pear/PhpDocumentor/package2.xml Mon Feb 27 22:29:12 2006
@@ -64,7 +64,7 @@
<active>yes</active>
</developer>
<date>2006-02-27</date>
- <time>14:55:24</time>
+ <time>16:27:59</time>
<version>
<release>1.3.0RC6</release>
<api>1.3.0</api>
@@ -149,6 +149,7 @@
[ 1016927 ] no highlight for paramtype in header of function
[ 1044486 ] duplicate parameters
[ 1051941 ] private variables on same line not recognized
+ [ 1079637 ] Use of realpath() leads to empty $dir
[ 1108018 ] Bad source code after /**#@-*/
[ 1145403 ] Call to a member function on a non-object
[ 1150809 ] Infinite loop when class extends itself
@@ -2615,6 +2616,7 @@
[ 1016927 ] no highlight for paramtype in header of function
[ 1044486 ] duplicate parameters
[ 1051941 ] private variables on same line not recognized
+ [ 1079637 ] Use of realpath() leads to empty $dir
[ 1108018 ] Bad source code after /**#@-*/
[ 1145403 ] Call to a member function on a non-object
[ 1150809 ] Infinite loop when class extends itself
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Setup.inc.php?r1=1.6&r2=1.7&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/Setup.inc.php
diff -u pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.6
pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.7
--- pear/PhpDocumentor/phpDocumentor/Setup.inc.php:1.6 Sun Nov 20 19:39:51 2005
+++ pear/PhpDocumentor/phpDocumentor/Setup.inc.php Mon Feb 27 22:29:12 2006
@@ -20,7 +20,7 @@
/**
* This was all in phpdoc.inc, and now encapsulates the complexity
* @author Greg Beaver <cellog@users.sourceforge.net>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
* @package phpDocumentor
* @since 1.2
*/
@@ -512,7 +512,12 @@
$dirs = explode(",",$this->dirs);
foreach($dirs as $dir)
{
+ $olddir = $dir;
$dir = trim(realpath($dir));
+ if (!$dir) {
+ phpDocumentor_out('ERROR: "' . $olddir . '" does not
exist, skipping');
+ continue;
+ }
$dir = strtr($dir, "\\", "/");
$dir = str_replace('//','/',$dir);
// strip trailing directory seperator
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.33&r2=1.34&diff_format=u
Index: pear/PhpDocumentor/scripts/create_package.xml.php
diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.33
pear/PhpDocumentor/scripts/create_package.xml.php:1.34
--- pear/PhpDocumentor/scripts/create_package.xml.php:1.33 Mon Feb 27 20:56:09 2006
+++ pear/PhpDocumentor/scripts/create_package.xml.php Mon Feb 27 22:29:12 2006
@@ -81,6 +81,7 @@
[ 1016927 ] no highlight for paramtype in header of function
[ 1044486 ] duplicate parameters
[ 1051941 ] private variables on same line not recognized
+ [ 1079637 ] Use of realpath() leads to empty $dir
[ 1108018 ] Bad source code after /**#@-*/
[ 1145403 ] Call to a member function on a non-object
[ 1150809 ] Infinite loop when class extends itself