[vlc-devel] [PATCH] compat: work-around busted FreeBSD qsort_r()

Thomas Guillem thomas at gllm.fr
Mon Jan 14 13:37:13 CET 2019


An other way to fix this issue is to add a vlc_qsort function (but not in compat).
The posix version will use qsort_r() and the apple one will use the inverted qsort_r.

Con: rename every usage or qsort_r() to vlc_qsort().

On Mon, Jan 7, 2019, at 21:52, Rémi Denis-Courmont wrote:
> vlc function in compat makes no sense to me.
> 
> Besides, this is only perpetuating the problem that qsort_r() will not work as 
> expected, and it is reasonable to expect that it works like both POSIX.next 
> and Linux man pages say.
> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list