You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Georges Arnould <ga...@echo.fr> on 1999/04/21 17:43:42 UTC

config/4284: The never ending "Expected but saw " problem ...

>Number:         4284
>Category:       config
>Synopsis:       The never ending "Expected </Directory> but saw </Directory>" problem ...
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr 21 08:50:00 PDT 1999
>Last-Modified:
>Originator:     garnould@echo.fr
>Organization:
apache
>Release:        1.3.6
>Environment:
IBM AIX 4.2.1, with IBM Compiler
>Description:
Everybody knows about the problem ... end_nested_section() in 
http_core.c is the problem ... The weird pointer comparison doesnt work 
on IBM compiler ...
>How-To-Repeat:
Compile on AIX.
>Fix:
Change line 1328 of http_core.c :

    if (cmd->cmd->name != cmd->end_token) {

by

#ifndef AIX
    if (cmd->cmd->name != cmd->end_token) {
#else
    if (strcmp(cmd->cmd->name,cmd->end_token)) {
#endif
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> 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!         ]