Re: [PATCH v2 2/2] src/readelf: use qsort instead of qsort_r.

2021-01-10 Thread Mark Wielaard
Hi Érico, Sorry for the late review. On Wed, 2020-12-16 at 19:30 -0300, Érico Nogueira via Elfutils-devel wrote: > From: Érico Rolim > > This program is single threaded, so using qsort with a global variable > isn't a danger. The interface for qsort_r isn't standardized (and > diverges between

[PATCH v2 2/2] src/readelf: use qsort instead of qsort_r.

2020-12-16 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim This program is single threaded, so using qsort with a global variable isn't a danger. The interface for qsort_r isn't standardized (and diverges between glibc and FreeBSD, for example), which makes usage of qsort, where possible, preferrable. Signed-off-by: Érico Rolim --- O