cvs: pear /CodeGen_PECL/PECL/Dependency Lib.php
| From: | Hartmut Holzgraefe | Date: | Tue, 05 Sep 2006 08:31:54 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Dependency Lib.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41983@lists.php.net to get a copy of this message | ||
hholzgra Tue Sep 5 08:31:54 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Dependency Lib.php
Log:
name mangling fix
http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Dependency/Lib.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/CodeGen_PECL/PECL/Dependency/Lib.php
diff -u pear/CodeGen_PECL/PECL/Dependency/Lib.php:1.8 pear/CodeGen_PECL/PECL/Dependency/Lib.php:1.9
--- pear/CodeGen_PECL/PECL/Dependency/Lib.php:1.8 Mon Aug 21 14:12:41 2006
+++ pear/CodeGen_PECL/PECL/Dependency/Lib.php Tue Sep 5 08:31:54 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005, 2006 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Lib.php,v 1.8 2006/08/21 14:12:41 hholzgra Exp $
+ * @version CVS: $Id: Lib.php,v 1.9 2006/09/05 08:31:54 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -65,7 +65,7 @@
static $first = true;
$extUpname = strtoupper($extName);
- $withUpname = strtoupper($withName);
+ $withUpname = str_replace("-", "_", strtoupper($withName));
if (!$this->platform->test("unix")) {
return "";