Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 22 Jun 2015 21:07:49 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] strverscmp fix

On Sun, Jun 21, 2015 at 12:30:18AM -0400, Rich Felker wrote:
> 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.

This was much more complex than it needed to be; I'm committing a new
version that barely affects the compiled code size now.

Rich

Powered by blists - more mailing lists

Your e-mail address:

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