Re: [PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Érico Nogueira via Elfutils-devel
Em 01/02/2021 18:35, Mark Wielaard escreveu: Hi Érico, On Mon, Feb 01, 2021 at 03:56:26PM -0300, Érico Nogueira via Elfutils-devel wrote: Some C libraries don't provide the GNU version of strerror_r, only the XSI-compliant one. We use the GNU version when available, since it fits the code bett

Re: [PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Mark Wielaard
Hi Érico, On Mon, Feb 01, 2021 at 03:56:26PM -0300, Érico Nogueira via Elfutils-devel wrote: > Some C libraries don't provide the GNU version of strerror_r, only the > XSI-compliant one. We use the GNU version when available, since it fits > the code better, and otherwise use the XSI-compliant on

[PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Some C libraries don't provide the GNU version of strerror_r, only the XSI-compliant one. We use the GNU version when available, since it fits the code better, and otherwise use the XSI-compliant one. Signed-off-by: Érico Rolim --- If possible, I'd like to get this patch in b