On Fri, 05 Oct 2018 09:27:16 -0700
Colin McCabe <co...@cmccabe.xyz> wrote:

> Hmm.  Did you consider setting the ifdefs you can set to always get the POSIX 
> version of strerror_r?
>

Actually, what we find the most convenient is to separate the function
out of the file completely, and undef _GNU_SOURCE, which forces glibc
to use the XSI-compliant one.

Here's the patch I used:

 https://lore.kernel.org/lkml/20181005121816.484e6...@gandalf.local.home/T/#u

-- Steve

Reply via email to