https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
Bug ID: 59019
Summary: UnDefine corrupts the list of defines
Product: Apache httpd-2
Version: 2.4.10
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
UnDefine'ing a previously Define'd variable appears to corrupt
ap_server_config_defines, causing future Defines to overwrite other variables.
Steps to Reproduce:
Load the following conf snippet and try to start the server:
Define ORIGINAL
Define NEW
UnDefine ORIGINAL
Define REPLACEMENT
<IfDefine ORIGINAL>
Original should not have been defined
</IfDefine>
<IfDefine !REPLACEMENT>
Replacement should have been defined
</IfDefine>
<IfDefine !NEW>
New should have been defined
</IfDefine>
Actual Results:
The server fails to start because NEW is no longer defined.
Expected Results:
The server starts.
Build Date & Hardware:
64-bit Linux build of 2.4.10.
Additional Builds and Platforms:
Reproduces in trunk builds and on Windows (2.4.7 64-bit).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]