Commit f627fd15 by Tom Tromey Committed by Tom Tromey

natDouble.cc (parseDouble): Reverted patch of 2003-11-13.

	* java/lang/natDouble.cc (parseDouble): Reverted patch of
	2003-11-13.

From-SVN: r73956
parent 8edb6c13
2003-11-26 Tom Tromey <tromey@redhat.com>
* java/lang/natDouble.cc (parseDouble): Reverted patch of
2003-11-13.
2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
Mark Wielaard <mark@klomp.org>
......
......@@ -183,7 +183,7 @@ java::lang::Double::parseDouble(jstring str)
{
// Note that UTF can expand 3x.
char *data = (char *) __builtin_alloca (3 * length + 1);
jsize blength = _Jv_GetStringUTFRegion (str, start, str->length(), data);
jsize blength = _Jv_GetStringUTFRegion (str, start, length, data);
data[blength] = 0;
struct _Jv_reent reent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment