Tom Tromey
9ce392afc1
natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work around bug.
...
* java/net/natInetAddress.cc (lookup): On glibc2.0 systems, make
buffer larger to work around bug.
From Bryce McKinlay <bryce@albatross.co.nz>.
From-SVN: r26447
1999-04-14 11:07:51 +00:00
Andrew Haley
2b37afcb36
natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value.
...
1999-04-14 Andrew Haley <aph@cygnus.com>
* java/lang/natDouble.java (doubleToLongBits): ensure that all
NaNs are always converted to the same long value.
* java/lang/natFloat.java (floatToIntBits): ditto, but for float
converted to int.
From-SVN: r26439
1999-04-14 07:10:22 +00:00
Tom Tromey
b81194219b
natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type.
...
* java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray;
instead switch on actual element type.
From-SVN: r26405
1999-04-13 12:16:41 +00:00
Urban Widmark
808ce120ae
DataInputStream.java (readLine): Corrected handling of empty lines, from null to "".
...
1999-04-12 Urban Widmark <urban@svenskatest.se>
* java/io/DataInputStream.java (readLine): Corrected handling of
empty lines, from null to "".
From-SVN: r26381
1999-04-12 18:27:56 +00:00
Tom Tromey
69d5914bd0
natSystem.cc (SystemClass): New define.
...
* java/lang/natSystem.cc (SystemClass): New define.
(init_properties): Synchronize.
From-SVN: r26372
1999-04-12 12:34:41 +00:00
Geoff Berry
825bd5ae6f
natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6).
...
1999-04-08 Geoff Berry <gcb@gnu.org>
* natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6).
* natPlainSocketImpl.cc (accept): Add missing else if check
for AF_INET6.
From-SVN: r26297
1999-04-08 13:22:59 +00:00
Tom Tromey
c86e69b2f9
Long.java (parseLong): Corrected overflow detection code.
...
* java/lang/Long.java (parseLong): Corrected overflow detection
code.
* java/lang/Integer.java (parseInt): Corrected overflow detection
code.
From-SVN: r26295
1999-04-08 11:57:28 +00:00
Tom Tromey
e086449d2a
PrintStream.java (print): Handle null string argument.
...
* java/io/PrintStream.java (print): Handle null string argument.
(println): Likewise.
From-SVN: r26294
1999-04-08 11:41:01 +00:00
Warren Levy
9a566c0926
natString.cc (init(jbyteArray,jint,jint,jstring)): Set count to 0 when InputStreamReader returns -1 for EOF.
...
* java/lang/natString.cc (init(jbyteArray,jint,jint,jstring)):
Set count to 0 when InputStreamReader returns -1 for EOF.
From-SVN: r26273
1999-04-07 19:31:01 +00:00
Tom Tromey
ee9dd3721b
Initial revision
...
From-SVN: r26263
1999-04-07 14:42:40 +00:00