[Bug 2089] errno not threadsafe
bugzilla at busybox.net
bugzilla at busybox.net
Mon Jul 5 12:01:22 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=2089
--- Comment #6 from Peter Korsgaard <jacmet at uclibc.org> ---
(In reply to comment #5)
> For this problem I found a fix here:
>
> http://github.com/mat-c/uClibc/commits/master_fixes
>
> Look for "don't hide __errno_location and __h_errno_location".
>
> I'm not sure if the fix is correct but actually it works for 0.9.31 on ARM.
It works as well here, thanks.
It does seem correct to me, as we WANT __errno_location / __h_errno_location to
be weak and overridable, so the linuxthread version is used instead when using
-pthread.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list