natDouble.cc (parseDouble): Cannot use errno to check for errors...
authorPer Bothner <bothner@gcc.gnu.org>
Sat, 24 Mar 2001 00:59:57 +0000 (16:59 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 24 Mar 2001 00:59:57 +0000 (16:59 -0800)
commit3c45ffa5146a7132ea4867981f0d2a737d656e54
treefafc2f660ada28148b694ca4afb1638030488771
parent7a3155bef708a70dfa72958ef23fc2356b20c8a2
natDouble.cc (parseDouble): Cannot use errno to check for errors...

* java/lang/natDouble.cc (parseDouble):  Cannot use errno to
check for errors, since we don't want to throw exception on
overflow/underflow.  Instead, trim whitespace, and then check that
_strtod_r uses up all the rest of the string.

From-SVN: r40800
libjava/java/lang/natDouble.cc