vlada1703@yahoo.com (Vlada) writes:
> I paid a big price debugging core dumps to figure out that AIX
> strerror is not thread safe (as it is on Solaris and HPUX).
IBM's documentation page for strerror() says at the beginning:
Attention: Do not use the strerror subroutine in a multithreaded
environment.
> Does anyone have any suggestion how to replace strerror() with some
> code that is thread safe?
Sure, "man strerror_r"
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.