httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: APACHE_RELEASE no longer always increasing?
Date Tue, 09 Jun 1998 19:42:58 GMT
On Tue, Jun 09, 1998 at 01:22:14PM -0400, Jim Jagielski wrote:
> Rodent of Unusual Size wrote:
> > > Where: MM is Major Version number
> > >        NN is Minor Version number
> > >        FF is "fix level"
> > >        R is whether it's beta or final release
> > >        BB is beta level.
> > > 
> > > Thus, 1.3.1b2 would be: 010301002
> > > and 1.3.4 would be:     010304100
> I'm not sure either, but maybe it's time to do it anyway :)

That'll break if any module relies on the fact that
major == APACHE_RELEASE/1000000.
But as it is very improbable that anyone would ever do comparisons
other than < <= == >= > chances are about zero that old code will break.

+1 , with the (optional) addition of some macros? :
    APACHE_RELEASE_MAJOR    -> 1
    APACHE_RELEASE_MINOR    -> 3
    APACHE_RELEASE_BETA     -> 7  for 1.3b7, 0 for 1.3.0
    APACHE_RELEASE_IS_BETA  -> 1  for 1.3b7, 0 for 1.3.0

    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message