]> granicus.if.org Git - php/commitdiff
Option -b needs an argument. This fixes #22229.
authorEdin Kadribasic <edink@php.net>
Sat, 15 Feb 2003 13:26:05 +0000 (13:26 +0000)
committerEdin Kadribasic <edink@php.net>
Sat, 15 Feb 2003 13:26:05 +0000 (13:26 +0000)
# 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

index 45fbb302d985391d9ed5cb18b3d3f924f6ee6036..6b94943698d412fa62b8342dc0cea43ee1cdf5ca 100644 (file)
@@ -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)
 {