Re: [PHP-DEV] [PATCH] Small patch for CLI server regarding IPv6 and commandline parsing

2011-06-29 Thread Florian Anderiasch
On 29.06.2011 19:09, Christopher Jones wrote: > Can you log a bug and attach the patch? > > Chris > There you go after bugs is back \o/ https://bugs.php.net/bug.php?id=55073 Greetings, Florian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/un

Re: [PHP-DEV] [PATCH] Small patch for CLI server regarding IPv6 and commandline parsing

2011-06-29 Thread Christopher Jones
On 06/29/2011 12:30 AM, Florian Anderiasch wrote: Oops, please have a look at the correct diff :) http://pastie.org/2138369 Keep the good ideas coming in! Can you log a bug and attach the patch? Chris -- Email: christopher.jo...@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.

Re: [PHP-DEV] [PATCH] Small patch for CLI server regarding IPv6 and commandline parsing

2011-06-29 Thread Florian Anderiasch
Oops, please have a look at the correct diff :) http://pastie.org/2138369 --- sapi/cli/php_cli_server.c.old 2011-06-29 09:08:28.971479778 +0200 +++ sapi/cli/php_cli_server.c 2011-06-28 19:43:23.123167815 +0200 @@ -1799,13 +1799,28 @@ } { - char *p = strchr(h

[PHP-DEV] [PATCH] Small patch for CLI server regarding IPv6 and commandline parsing

2011-06-29 Thread Florian Anderiasch
Hi all, as of yesterday the CLI server didn't seemed to listen to addr:port in format like [::1]:3000, so here's a patch. Feedback very welcome. Greetings, Florian See http://pastie.org/2138304 or this: --- php_cli_server.c.orig 2011-06-28 19:43:23.123167815 +0200 +++ php_cli_server.c