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).
Created attachment 33605 [details] Patch
Confirmed, could you try the attached patch?
(In reply to Christophe JAILLET from comment #2) > Confirmed, > > could you try the attached patch? Looks good to me. Tested 2.4.7 Windows 64-bit and trunk Linux 64-bit builds.
Thx for testing, r1732716 will be proposed for backport shortly. Should be available in 2.4.19
Will be part 2.4.19 See r1733278