Re: [PATCH v2 1/2] libdwfl: use XSI-compliant strerror_r.

2020-12-17 Thread Dmitry V. Levin
On Thu, Dec 17, 2020 at 01:17:40AM -0300, Érico Nogueira wrote: > On Wed Dec 16, 2020 at 9:08 PM -03, Dmitry V. Levin wrote: > > On Wed, Dec 16, 2020 at 07:30:11PM -0300, Érico Nogueira via > > Elfutils-devel wrote: > > > From: Érico Rolim > > > > > > The Linux man pages recommend this version of

Re: [PATCH v2 1/2] libdwfl: use XSI-compliant strerror_r.

2020-12-16 Thread Érico Nogueira via Elfutils-devel
On Wed Dec 16, 2020 at 9:08 PM -03, Dmitry V. Levin wrote: > On Wed, Dec 16, 2020 at 07:30:11PM -0300, Érico Nogueira via > Elfutils-devel wrote: > > From: Érico Rolim > > > > The Linux man pages recommend this version of the function for portable > > applications. > > > > Signed-off-by: Érico R

Re: [PATCH v2 1/2] libdwfl: use XSI-compliant strerror_r.

2020-12-16 Thread Dmitry V. Levin
On Wed, Dec 16, 2020 at 07:30:11PM -0300, Érico Nogueira via Elfutils-devel wrote: > From: Érico Rolim > > The Linux man pages recommend this version of the function for portable > applications. > > Signed-off-by: Érico Rolim I'd rather not do it this way because __xpg_strerror_r in glibc is

[PATCH v2 1/2] libdwfl: use XSI-compliant strerror_r.

2020-12-16 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim The Linux man pages recommend this version of the function for portable applications. Signed-off-by: Érico Rolim --- Only difference from the initial patch is that this includes the Signed-off-by line. libdwfl/ChangeLog| 4 libdwfl/dwfl_error.c | 11 ++- 2