www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik "Bågfors" <bagf...@pdc.kth.se>
Subject os-aix/6403: strange string comparison failed on AIX
Date Thu, 10 Aug 2000 16:16:57 GMT

>Number:         6403
>Category:       os-aix
>Synopsis:       strange string comparison failed on AIX
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 10 09:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     bagfors@pdc.kth.se
>Release:        1.3.12
>Organization:
apache
>Environment:
AIX eodbase 3 4 0042147A4C00
oslevel 4.3.3.0
xlc 4.4.0.0 (vac.C)
>Description:
The string comparison in http_core.c in "end_nested_section" that look like:
"cmd->cmd->name != cmd->end_token"

does not work under AIX.  When replaced with a strcmp everything works.
The error one gets when trying to start apache is:
"Expected </Directory> but saw </Directory>"


Apache is built with

./configure --enable-shared=max --prefix=/path
make
make install

Building apache is no problem.
>How-To-Repeat:
Try to build and run apache on AIX with standard C compilers.
>Fix:
Using strcmp works, maybe there should be a fallback to it somehow!?
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]
 
 


Mime
View raw message