Received: (qmail 13099 invoked by uid 2012); 5 Feb 1999 17:11:20 -0000 Message-Id: <19990205171120.13098.qmail@hyperreal.org> Date: 5 Feb 1999 17:11:20 -0000 From: Ben Hill Reply-To: ben@opnsys.com To: apbugs@hyperreal.org Subject: Unable to process and tags X-Send-Pr-Version: 3.2 >Number: 3844 >Category: os-aix >Synopsis: Unable to process and tags >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Feb 5 09:20:00 PST 1999 >Last-Modified: Fri Feb 5 09:26:26 PST 1999 >Originator: ben@opnsys.com >Organization: >Release: 1.3.4 >Environment: AIX homemart 3 4 00FFFFFF4C00 AIX 4.3.1 Compiler: CSet 3.6.4 using xlC >Description: Apache fails to start if there are any or tags in any config file, including the default httpd.conf error message: Expected but saw or Expected but saw The pointer compare in the function in the http_core.c: end_nested_section always fails. Compiler: CSet 3.6.4 using xlC with no addition options but what configuration script used >How-To-Repeat: It occurs at startup >Fix: Yes, I made a change to: http_core.c: function: static const char *end_nested_section(cmd_parms *cmd, void *dummy) change: > if (cmd->cmd->name != cmd->end_token) { < if( strcmp(cmd->cmd->name, cmd->end_token) != 0) { this fixed the problem. I sure you can a more effiecient way ;-) >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Fri Feb 5 09:26:26 PST 1999 State-Changed-Why: This is already detailed in previous bug reports, and the BUILD.NOTES file. It is a bug in your compiler, please search for previous reports or look at the BUILD.NOTES for details. In the future, please be sure that you do not submit a bug report without searching for previous reports of the same bug. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]