cellog Sat Jun 16 19:13:25 2007 UTC
Modified files:
/pear-core/PEAR/PackageFile/Parser v2.php
Log:
fix Bug #11318 \"pear package\" ignores changelog items
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/PackageFile/Parser/v2.php?r1=1.19&r2=1.20&diff_format=u
Index: pear-core/PEAR/PackageFile/Parser/v2.php
diff -u pear-core/PEAR/PackageFile/Parser/v2.php:1.19
pear-core/PEAR/PackageFile/Parser/v2.php:1.20
--- pear-core/PEAR/PackageFile/Parser/v2.php:1.19 Mon Jan 23 17:39:52 2006
+++ pear-core/PEAR/PackageFile/Parser/v2.php Sat Jun 16 19:13:24 2007
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@xxxxxxx>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
- * @version CVS: $Id: v2.php,v 1.19 2006/01/23 17:39:52 cellog Exp $
+ * @version CVS: $Id: v2.php,v 1.20 2007/06/16 19:13:24 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -70,6 +70,8 @@
foreach (explode("\n", $str) as $line) {
if (substr($line, 0, $indent_len) == $indent) {
$data .= substr($line, $indent_len) . "\n";
+ } else {
+ $data .= $line . "\n";
}
}
return $data;
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|