Re: [PATCH 1/3] compat: add qsort_s()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 1, 2016, 20:25 UTC
- Message-ID
- <xmqqpolb8khj.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20161201201917.nqx3v5fl2ptl3bhr@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> On Thu, Dec 01, 2016 at 12:14:42PM -0800, Junio C Hamano wrote: > >> Eh, wait. BSD and Microsoft have paramters reordered in the >> callback comparison function. I suspect that would not fly very >> well. > > You can hack around it by passing a wrapper callback that flips the > arguments.
Apparently our mails crossed.