Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1194e009dc2a1020e4cfd67ddf1e96ef698a16701a3356b5540f80fa53a7d28
Ticket: 5be203d6caa9298363310b3436cb00e2928279c1
io-7.3 and chanio-7.3 fail in debug mode
User & Date: jan.nijtmans on 2023-07-03 13:44:15
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Starting with [398de572ab139a49|this] commit, in debug mode:
    <pre>
    ==== io-7.3 FilterInputBytes: split up character at EOF FAILED
    ==== Contents of test case:
    
        set f [open $path(test1) w]
        fconfigure $f -encoding binary
        puts -nonewline $f "1234567890123\x82\x4F\x82\x50\x82"
        close $f
        set f [open $path(test1)]
        fconfigure $f -encoding shiftjis -profile tcl8
        set x [list [gets $f line] $line]
        lappend x [tell $f] [testchannel inputbuffered $f] [eof $f]
        lappend x [gets $f line] $line
        close $f
        set x
    
    ---- Result was:
    16 1234567890123\U0000FF10\U0000FF11\xEF\xBC 18 0 1 -1 {}
    ---- Result should have been (exact matching):
    16 1234567890123\U0000FF10\U0000FF11\x82 18 0 1 -1 {}
    ==== io-7.3 FAILED
    </pre>
    
    It doesn't look like this commit actually causes the failure, I suspect this is an already existing bug exposed by this change.
    
    So, this ticket is meant to investigate this bug and - hopefully - fix it.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "26. Channel Transforms"
  15. title changed to: "io-7.3 and chanio-7.3 fail in debug mode"
  16. type changed to: "Bug"