From: Edin Kadribasic Date: Sat, 15 Feb 2003 13:26:05 +0000 (+0000) Subject: Option -b needs an argument. This fixes #22229. X-Git-Tag: php-4.3.2RC1~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c90d59fc0702af7a33239fc558bba8048970f17;p=php Option -b needs an argument. This fixes #22229. # Note -b still seems to be broken: # sapi/cgi/php -b 4444 # Status: 404 # Content-type: text/html # X-Powered-By: PHP/4.3.1-dev # # No input file specified. --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 45fbb302d9..6b94943698 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -138,7 +138,7 @@ long fix_pathinfo=1; #define TRANSLATE_SLASHES(path) #endif -#define OPTSTRING "abCc:d:ef:g:hilmnqsw?vz:" +#define OPTSTRING "ab:Cc:d:ef:g:hilmnqsw?vz:" static int print_module_info(zend_module_entry *module, void *arg TSRMLS_DC) {