[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200608292219.59949.nick@linicks.net>
Date: Tue, 29 Aug 2006 22:19:59 +0100
From: Nick Warne <nick@...icks.net>
To: "Patrick J. Volkerding" <volkerdi@...ckware.com>
Cc: Petri Kaukasoina <kaukasoina603mxtg1n@....fi>,
Mikael Pettersson <mikpe@...uu.se>,
linux-kernel@...r.kernel.org, wtarreau@...a.kernel.org,
gcoady.lk@...il.com, mtosatti@...hat.com
Subject: Re: Linux 2.4.33.2
On Tuesday 29 August 2006 22:09, Patrick J. Volkerding wrote:
> Nick Warne wrote:
> > On Sunday 27 August 2006 17:28, Petri Kaukasoina wrote:
> >> On Sun, Aug 27, 2006 at 03:50:29PM +0100, Nick Warne wrote:
> >>> Good question - all I can find is the slackware package
> >>
> >> I guess this is what you are looking for:
> >>
> >> ftp://ftp.slackware.com/pub/slackware/slackware-current/source/l/glibc/g
> >>lib c.kernelversion.diff.gz
> >
> > Good god - what a mess...
>
> I agree, even though I'm not sure if you mean the original .h algorithm,
> my fix, or glibc's system of reducing a Linux kernel version to a single
> integer for easy comparison, though.
>
> I'm glad my hack is getting some review. It's of the "ugly but probably
> reliable" variety. More so than if I'd tried to fix the loop below
> it... I felt it much safer to just fix the input string to give it
> those "at most three parts" that it was designed for.
My 'my god' bit was to glibc - not the fix! I bow down to you guys, seeing
what you had to do to suss it and get to work...
Where on earth did the assumption of 'three dots' come from anyway?
Nick
--
Every program has two purposes:
one for which it was written and another for which it wasn't.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists