Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 1 Feb 2013 20:04:52 -0800
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: strverscmp

On Fri, 1 Feb 2013 21:38:33 -0500
Rich Felker <dalias@...ifal.cx> wrote:

> > Fix strverscmp (patch same as the last time I sent it)
> 
> I'm not sure whether we got it into a fully-working state or not; the
> conversation kinda died out last time. I'll review it again too. I
> remember it didn't look quite like the algorithm I described/proposed,
> but that doesn't mean it's wrong. It looked like it could at least use
> some streamlining though.

The last review was just before I got it working. Here's the final version.

Probably somewhere it could be optimized, though...
As long as it doesn't end up looking like the GNU one.

-- 
Isaac Dunham <idunham@...abit.com>

View attachment "strverscmp.diff" of type "text/x-diff" (961 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.