Changeset 11973


Ignore:
Timestamp:
06/01/09 07:53:07 (12 years ago)
Author:
ehuelsmann
Message:

Don't clear the buffer. It could be non-empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java

    r11972 r11973  
    388388
    389389    private void encodeAndWrite(CharBuffer cbuf, boolean flush, boolean endOfFile) throws IOException {
    390         if (bbufpos == fcnsize) {
    391             bbuf.clear();
    392         }
    393390        while (cbuf.remaining() > 0) {
    394391            CoderResult r = cenc.encode(cbuf, bbuf, endOfFile);
Note: See TracChangeset for help on using the changeset viewer.