Archie Cobbs wrote:
Mark Wielaard wrote:
BTW, does anybody know why we are not using the system strtod() when
available? That seems the way to the quickest solution on most
platforms. It seems to work with some simple tests for me. But I notice
that there is no strtod_r(), just strtod(). But I couldn't find a
definitive answer on whether or not the standard strtod() is guaranteed
to be thread-safe or not. Does anybody know (where to find this
information)?

There's no reason strtod() should be thread-unsafe. It doesn't return
a static buffer or remember any state across calls.

In any case, I'm not familiar enough with the code to understand whether
using the system strtod(3) would avoid this assertion failure, which
appears to come from "Balloc" in mprec.c.

Sorry for the noise, that email got delayed several hours for some
reason. As we now know strtod() has different behavior than desired...

In any case, we probably need to fix this before 0.20, or at least
disable the assertion (i.e., revert to the previous status quo).

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to