Re: cvs: php-src(PHP_5_3) /ext/phar/phar pharcommand.inc
| From: | Gregory Beaver | Date: | Sat, 13 Sep 2008 20:53:42 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/phar/phar pharcommand.inc | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-53124@lists.php.net to get a copy of this message | ||
Arnaud Le Blanc wrote:
> lbarnaud Fri Sep 12 16:09:01 2008 UTC
>
> Modified files: (Branch: PHP_5_3)
> /php-src/ext/phar/phar pharcommand.inc
> Log:
> MFH: make pharcommand.inc works without ereg
>
>
> ê2±÷D±ýf)0ž}
> http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar/pharcommand.inc?r1=1.49.2.11&r2=1.49.2.12&diff_format=u
> Index: php-src/ext/phar/phar/pharcommand.inc
> diff -u php-src/ext/phar/phar/pharcommand.inc:1.49.2.11
> php-src/ext/phar/phar/pharcommand.inc:1.49.2.12
> --- php-src/ext/phar/phar/pharcommand.inc:1.49.2.11 Fri Aug 1 13:42:56 2008
> +++ php-src/ext/phar/phar/pharcommand.inc Fri Sep 12 16:09:01 2008
> @@ -213,7 +213,7 @@
> $apiver = trim(substr($apiver, strlen('API Version')));
> if ($apiver) {
> self::notice("Pear package PHP_Archive: API Version: $apiver.\n");
> - $files = split("\n",
pear list-files
> PHP_Archive);
> + $files = explode("\n", pear list-files
> PHP_Archive);
> $phpdir = pear config-get php_dir 2>/dev/null;
> $phpdir = trim($phpdir);
> self::notice("Pear package PHP_Archive: $phpdir.\n");
> @@ -1550,7 +1550,7 @@
> $use_ext = extension_loaded('phar');
> $version = array(
> 'PHP Version' => phpversion(),
> - 'phar.phar version' => '$Revision: 1.49.2.11 $',
> + 'phar.phar version' => '$Revision: 1.49.2.12 $',
> 'Phar EXT version' => $use_ext ? phpversion('phar') : 'Not
> available',
> 'Phar API version' => Phar::apiVersion(),
> 'Phar-based phar archives' => true,
>
>
Hello Arnaud,
Thank you for this fix. In the future, please also merge any changes to
ext/phar over to pecl/phar. I took care of this one.
Thanks,
Greg