Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 5 Mar 2017 20:05:13 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] fix lsearch and lfind to pass key as first arg to
 the compar callback

On Sun, Mar 05, 2017 at 11:03:35PM +0100, Szabolcs Nagy wrote:
> this is not a conformance issue as posix does not specify the
> argument order, but the order is specified for bsearch and some
> systems document the order for lsearch consistently (openbsd).
> 
> since there were two indpendent reports of this issue it's better
> to use the more widely expected argument order.
> ---
> 
> in both reported cases upstream got fixed, but i think it
> is worth changing anyway.

Thanks. Committed and pushed.

Rich

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.