[PATCH] Use safe_strerror instead of strerror where possible

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Tue Nov 26 18:00:00 GMT 2019


On Mon, Nov 25, 2019 at 10:50 PM Simon Marchi <simark@simark.ca> wrote:
>
> On 2019-11-22 3:36 p.m., Christian Biesinger via gdb-patches wrote:
> > This provides threadsafety. Unfortunately, since libinproctrace.so
> > does not link to gnulib, we can't use it there, especially since it
> > still includes the gnulib headers (so it is difficult to directly
> > call the system strerror_r).
>
> Thanks, this LGTM.

Thanks, I pushed this.

Christian



More information about the Gdb-patches mailing list