[hackers] socket error patch

Andreas Bogk andreas at andreas.org
Wed Jul 2 13:18:15 CEST 2008


Carl Gay schrieb:
> Could someone look over the attached patch before I commit it?  It

The thing that's jumping to my attention is that strerror() is not 
thread-safe.  You should use strerror_r() instead, which is reentrant.

Andreas


More information about the hackers mailing list