>Number: 2714
>Category: general
>Synopsis: Command line option '-?' doesn't work.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jul 27 01:40:00 PDT 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.1 and before
>Environment:
FreeBSD 2.2.7-STABLE
>Description:
Command line option '-?' doesn't work. If you run with '-?' option, error
message is printed.
>How-To-Repeat:
Run httpd with '-?' option.
>Fix:
Following patch is for 1.3.1:
--- src/main/http_main.c.ORG Tue Jul 14 18:57:56 1998
+++ src/main/http_main.c Mon Jul 27 17:25:28 1998
@@ -4250,7 +4250,7 @@
ap_setup_prelinked_modules();
while ((c = getopt(argc, argv,
- "D:C:c:Xd:f:vVhlL:St"
+ "D:C:c:Xd:f:vVhlL:St?"
#ifdef DEBUG_SIGSTOP
"Z:"
#endif
@@ -5416,7 +5416,7 @@
ap_setup_prelinked_modules();
- while ((c = getopt(argc, argv, "D:C:c:Xd:f:vVhlZ:iusSt")) != -1) {
+ while ((c = getopt(argc, argv, "D:C:c:Xd:f:vVhlZ:iusSt?")) != -1) {
char **new;
switch (c) {
case 'c':
@@ -5607,7 +5607,7 @@
* but only handle the -L option
*/
llp_dir = SHARED_CORE_DIR;
- while ((c = getopt(argc, argv, "D:C:c:Xd:f:vVhlL:SZ:t")) != -1) {
+ while ((c = getopt(argc, argv, "D:C:c:Xd:f:vVhlL:SZ:t?")) != -1) {
switch (c) {
case 'D':
case 'C':
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]