Re: [PATCH 2/2] perf: use XSI-complaint version of strerror_r()instead of GNU-specific

From: Kirill A. Shutemov
Date: Mon Jul 23 2012 - 16:30:45 EST


On Mon, Jul 23, 2012 at 02:00:33PM -0400, Ulrich Drepper wrote:
> On Mon, Jul 23, 2012 at 11:00 AM, Kirill A. Shutemov
> <kirill@xxxxxxxxxxxxx> wrote:
> > The right way to fix it is to switch to XSI-compliant version.
>
> And why exactly would this be "the right way"? Just fix the use of
> strerror_r or use strerror_l.

Okay. What about this: