Apache Mod-Python - Re: svn commit: r385992 - in /httpd/mod_python/trunk:

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > March 2006 > Re: svn commit: r385992 - in /httpd/mod_python/trunk:





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: svn commit: r385992 - in /httpd/mod_python/trunk:
André Malo

2006-03-15, 2:45 am

* grahamd@apache.org wrote:

> **
> * handler function for mod_include tag
> + *
> + * The mod_include tag handler interface changed somewhere
> + * between Apache 2.0 and Apache 2.2. Not sure what the
> + * official way of detecting change point is, so look for
> + * the SSI_CREATE_ERROR_BUCKET macro as indication that
> + * new interface should be used. Provide a completely
> + * separate implementation for now until determine whether
> + * the SSI_CREATE_ERROR_BUCKET macro can be replicated for
> + * backward compatibility.
> */


mod_include was completely refactored for 2.2 and changed its external API
(and ABI) during this step. The reason was, that the API before exposed too
many internal details, which made silent refactoring impossible. At this
point it was changed to fix these mistakes and go on with the refactoring

Anyway. The official way to determine such changes is the module magic number
in ap_mmn.h. There's a major MMN and a minor MMN. The major MMN bumps for
backward incompatiblity and the minor number for forward compatibility
(e.g. new functions).

And there you'll find:

* 20030821 (2.1.0-dev) bumped mod_include's entire API

You can use the macros in ap_mmn.h to determine the version of the code.

nd

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com