From: Junio C Hamano Date: Thu, 01 Dec 2016 20:25:44 GMT Subject: Re: [PATCH 1/3] compat: add qsort_s() Message-ID: In-Reply-To: <20161201201917.nqx3v5fl2ptl3bhr@sigill.intra.peff.net> Jeff King writes: > 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.