Re: Oops: ptrace fix buggy

Martin Schlemmer (azarah@gentoo.org)
15 Apr 2003 08:10:43 +0200


On Mon, 2003-04-14 at 23:19, James Bourne wrote:
> On Mon, 14 Apr 2003, Jörn Engel wrote:
>
> > So basically, neither the existing EXTRAVERSION nor my new FIXLEVEL
> > are checked. Any code could potentially break with -ac1 to -ac2 or
> > with .1 to .2.
> >
> > Did anyone experience such problems with -ac already? There are far
> > more changes in -ac than there are in your patch.
>
> Which brings the point as to why use a new variable unless you are going to
> actually modify LINUX_VERSION_CODE with it. It actually makes more sense to
> just use EXTRAVERSION for this then.
>
> Now, using EXTRAVERSION = .2 wouldn't be unrealistic...
>

True, but then, most things expect a version with two '.' s.
And adding the extra '.2' breaks how they calculate the version.

Mozilla for example, strip off all non numbers and '.' s, and
then just cut the last '.' and number. What ever is left, is
used to check what makefile should be used in the NSS stuff ...
Meaning, with a normal version, it would be:

Makefile-2.4

With Jörn's, it would try to use:

Makefile-2.4.20

which do not exits ...

Yes, mozilla is broken ;) I never said you cannot set
EXTRAVERSION to '.2'. All I said, was that its going
to break stuff, as many things expect, and only work
with a two '.' version ....

Regards,

-- 
Martin Schlemmer

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/