Imported GNU Classpath 0.20
Imported GNU Classpath 0.20
* Makefile.am (AM_CPPFLAGS): Add classpath/include.
* java/nio/charset/spi/CharsetProvider.java: New override file.
* java/security/Security.java: Likewise.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r109831
This commit is contained in:
@@ -128,7 +128,7 @@ public class CRLFInputStream
|
||||
in.reset();
|
||||
if (i != -1)
|
||||
{
|
||||
l = in.read(b, off, i + 1); // read to CR
|
||||
l = in.read(b, off, (i + 1) - off); // read to CR
|
||||
in.read(); // skip LF
|
||||
b[i] = LF; // fix CR as LF
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user