Marcus Meissner wrote:
Hi,glibc 2.3.current CVS is throwing a huge stone in our direction, it no longer allows overload of __errno_location. To visualize this problem I have added this testcase.
...
sched_yield(); /* will not change errno */
BTW sched_yield() is allowed to be a no-op; would nanosleep() or something like that be a better choice? - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045