From 9c90d59fc0702af7a33239fc558bba8048970f17 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sat, 15 Feb 2003 13:26:05 +0000 Subject: [PATCH] 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. --- sapi/cgi/cgi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1