This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/libjava/java/lang natDouble.cc
- To: gcc-cvs at gcc dot gnu dot org, java-cvs at gcc dot gnu dot org
- Subject: gcc/libjava/java/lang natDouble.cc
- From: bothner at gcc dot gnu dot org
- Date: 24 Mar 2001 00:59:57 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bothner@gcc.gnu.org 2001-03-23 16:59:57
Modified files:
libjava/java/lang: natDouble.cc
Log message:
* 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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natDouble.cc.diff?cvsroot=gcc&r1=1.12&r2=1.13