cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_strerror and strerror_r on glibc

From: Tor Arntsen <tor_at_spacetec.no>
Date: Thu, 25 Mar 2004 15:58:50 +0100

On Mar 25, 15:54, Daniel Stenberg wrote:
>For AIX "4.3 or later" we don't check for thread-safe versions of functions
>since AIX since then have the "original" functions remade in a thread-safe
>manner!
>
>So, strerror() it is for AIX!

I know that AIX is supposed to have a quite thread-safe libc, but the manpage
for strerror() says
..
Description

    Attention: Do not use the strerror subroutine in a multithreaded
    environment.
..

(AIX 5.1)

-Tor
Received on 2004-03-25