diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-07 18:35:00 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-07 18:35:00 +0000 |
commit | a3cef0cf3594b7f7e54cad0fabd05584daf96849 (patch) | |
tree | 4416490914744db9c6d980b6558414bd86715239 /gcc/intl | |
parent | 0978d75cf2c65b9c4b9910edd57fd3a2c3416cf6 (diff) | |
download | gcc-a3cef0cf3594b7f7e54cad0fabd05584daf96849.tar.gz |
2002-06-06 James Clark <jjc@jclark.com>
Fix for PR libgcj/8738:
* gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
* gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
(write): Always decrease avail when count is increased.
* java/lang/natString.cc (getBytes): Check converter havePendingBytes()
and whether output buffer is full before increasing size.
2002-06-06 Mark Wielaard <mark@klomp dot org>
* java/io/PrintStream.java (writeChars(char[],int, int)):
Check converter.havePendingBytes().
(writeChars(String,int,int)): Likewise.
* java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
Check converter.havePendingBytes() and flush buffer when stalled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/intl')
0 files changed, 0 insertions, 0 deletions