Subject: Re: pgcluster fails thread-safety test
To: Thomas Klausner <wiz@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: current-users
Date: 03/14/2005 15:56:45
On Mon, Mar 14, 2005 at 11:57:20AM +0100, Thomas Klausner wrote:
> The only real problem seems to be that the configure script doesn't
> find a strerror_r function. Just implement one and it should be fine ;)

That would be easy, we already have __strerror() that does mostly what we
want - it just does return the error message, while strerror_r() needs
to return an int (0 on success, an error number otherwise).

We should change __strerror() to strerror_r() and make the libc internal
calls to it cope.

Martin