Received: (qmail 35442 invoked by uid 501); 10 Aug 2000 16:16:57 -0000 Message-Id: <20000810161657.35441.qmail@locus.apache.org> Date: 10 Aug 2000 16:16:57 -0000 From: Erik "Bågfors" Reply-To: bagfors@pdc.kth.se To: submit@bugz.apache.org Subject: strange string comparison failed on AIX X-Send-Pr-Version: 3.110 >Number: 6403 >Category: os-aix >Synopsis: strange string comparison failed on AIX >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: duplicate >Submitter-Id: apache >Arrival-Date: Thu Aug 10 09:30:01 PDT 2000 >Closed-Date: Mon Aug 14 11:51:24 PDT 2000 >Last-Modified: Mon Aug 14 11:51:24 PDT 2000 >Originator: bagfors@pdc.kth.se >Release: 1.3.12 >Organization: >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 but saw " 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: State-Changed-From-To: open-closed State-Changed-By: coar State-Changed-When: Mon Aug 14 11:51:22 PDT 2000 State-Changed-Why: [This is a standard response.] This issue has been reported before; please search the FAQ and the bug database. Thanks for using Apache! Class-Changed-From-To: sw-bug-duplicate Class-Changed-By: coar Class-Changed-When: Mon Aug 14 11:51:22 PDT 2000 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]