On 09/05/2006 11:49 PM, William A. Rowe, Jr. wrote:
> Brian Akins wrote:
> 
>>Ruediger Pluem wrote:
>>
>>
>>>1. If we stick to
>>>
>>>AP_DECLARE(const char *) ap_get_server_version(void);
>>>
>>>and do
>>>
>>>#define ap_get_server_banner ap_get_server_version
>>
>>
>>I hate macros.  Just do it like:
>>
>>AP_DECLARE(const char *) ap_get_server_banner() {
>>    return ap_get_server_version();
>>}
>>
>>That way, it gets a symbol rather than disappearing after compile.
> 
> 
> If we do that, we break backwards compatibility that otherwise existed
> back to 2.0.44 for anyone who uses the new symbol.

Hm, what backport are you thinking of? I thought of backporting it to 2.2.x
not to 2.0.x. I see no general backwards compatibilty of modules written for
2.2.x to 2.0.x.

But appart from this, isn't this what minor bumps are for? If someone wants to 
use
the new symbol this would only work if the module is used with a httpd that has
a minimum minor module magic number.

Regards

RĂ¼diger

Reply via email to