Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150621043018.GB1173@brightrain.aerifal.cx>
Date: Sun, 21 Jun 2015 00:30:18 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: [PATCH] strverscmp fix

Fixing strverscmp behavior to match glibc has been an open item for a
while. There's a patch (or rather replacement) from Sergey Dmitrouk
that's been pending review serious for a few months now, and while it
reportedly works, I found myself writing my own version in the process
of reviewing and trying to understand all the cases. The attached is
what I ended up with, and I believe it's correct and about 20%
smaller. I couldn't find any further ways to simplify.

Rich

View attachment "strverscmp.diff" of type "text/plain" (2019 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.