[tcljava-dev] Fconfigure status
Brought to you by:
mdejong
From: Johnson, B. <bru...@me...> - 2001-02-13 19:30:24
|
I've continued working on fconfigure and the related read/write routines in Jacl. At this point I can pass 96 of the first 119 tests in the Tcl 8.3.2 io.test script. Starting at test 14.1 I need the "testchannel" command working, which I haven't yet had a chance to implement. In fact some of the failures in the first 119 tests are because some of these also require the "testchannel" command. There are some problems with encoding with some of the failed tests (my modified code supports Unicode encoding but I haven't checked it out much). Others have to do with the "tell" command reporting where the actual file pointer is, rather than where the last character was read from (the difference being do to buffering). The problem here is that there is no simple way (that I can find) to tell how many bytes get converted to how many unicode characters). The list below shows what tests are currently failing. cheers, Bruce ==== io-3.4 WriteChars: loop over stage buffer FAILED ==== io-3.5 WriteChars: saved != 0 FAILED ==== io-3.7 WriteChars: (bufPtr->nextAdded > bufPtr->length) FAILED ==== io-3.8 WriteChars: reset sawLF after each buffer FAILED ==== io-5.5 CheckFlush: none FAILED ==== io-6.3 Tcl_GetsObj: how many have we used? FAILED ==== io-6.30 Tcl_GetsObj: crlf mode: buffer exhausted FAILED ==== io-6.32 Tcl_GetsObj: crlf mode: buffer exhausted, more data FAILED ==== io-6.34 Tcl_GetsObj: crlf mode: buffer exhausted, not followed by \n FAILED ==== io-6.47 Tcl_GetsObj: auto mode: \r at end of buffer, peek for \n FAILED ==== io-6.48 Tcl_GetsObj: auto mode: \r at end of buffer, no more avail FAILED ==== io-6.49 Tcl_GetsObj: auto mode: \r followed by \n FAILED ==== io-6.50 Tcl_GetsObj: auto mode: \r not followed by \n FAILED ==== io-6.51 Tcl_GetsObj: auto mode: \n FAILED ==== io-6.52 Tcl_GetsObj: saw EOF character FAILED ==== io-6.55 Tcl_GetsObj: overconverted FAILED ==== io-7.1 FilterInputBytes: split up character at end of buffer FAILED ==== io-7.2 FilterInputBytes: split up character in middle of buffer FAILED ==== io-7.3 FilterInputBytes: split up character at EOF FAILED ==== io-8.1 PeekAhead: only go to device if no more cached data FAILED ==== io-11.1 ReadBytes: want to read a lot FAILED ==== io-11.4 ReadBytes: EOF char found FAILED ==== io-13.7 TranslateInputEOL: auto mode: naked \r FAILED |