Overview
| Artifact ID: | f0645e1d40fa16c6dceb42dcf53156c893db9dc5c956d2183e1987c6909f060b |
|---|---|
| Ticket: | c2f368c2015a99420ae7beb47d72dfb7981b60ce
io-52.20.1 test failure |
| User & Date: | dgp on 2023-11-17 16:15:42 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
==== io-52.20.1 TclCopyChannel & read encoding error & tell position FAILED ==== Contents of test case: # binary to encoding => the input has to be # in utf-8 to make sense to the encoder set in [open $path(utf8-fcopy.txt) r] set out [open $path(kyrillic.txt) w] # Using "-encoding ascii" means reading the "Á" gives an error fconfigure $in -encoding ascii -profile strict fconfigure $out -encoding koi8-r -translation lf set l {} # should fail, so 1 is added lappend l [catch {fcopy $in $out}] # should be at position 1, after the first correct byte, so 1 is read. lappend l [tell $in] # not sure, if flush required, but anyway flush $out # should be at position 1, after the first correct byte, so 1 is written. lappend l [tell $out] ---- Result was: 1 1 0 ---- Result should have been (exact matching): 1 1 1 ==== io-52.20.1 FAILED - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "25. Channel System"
- title changed to: "io-52.20.1 test failure"
- type changed to: "Bug"