OSDN Git Service

* java/lang/natDouble.cc (parseDouble): Reverted patch of
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Nov 2003 18:02:34 +0000 (18:02 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Nov 2003 18:02:34 +0000 (18:02 +0000)
2003-11-13.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73956 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/lang/natDouble.cc

index c81bee7..73b28a4 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
index 4c96930..dfec596 100644 (file)
@@ -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;