Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1bb384e12d12350fb935a52927cb7991e53755f74c8481315029a4b339a07ce
Ticket: c243e7a85ec5279a3f24b145194d984b257f6b06
TIP #603 implementation broken on Windows
User & Date: jan.nijtmans on 2023-05-25 09:22:40
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Build failure here: [https://github.com/tcltk/tcl/actions/runs/5077275617/jobs/9120351315]
    
    See also my mail on the Core list from 16 jul 2021 10:13:
    Well, the Windows implementation still gives 8 failures:
        [https://github.com/tcltk/tcl/runs/3084001414?check_suite_focus=true]
    so that means Windows the implementation is not ready to be merged yet.
    
    
    Here are the current test failures:
    <pre>
    ioCmd.test
    
    
    ==== iocmd-8.7 fconfigure command FAILED
    ==== Contents of test case:
    
        set f1 [open $path(test1) w]
        fconfigure $f1 -translation lf -eofchar {} -encoding utf-16 -profile tcl8
        fconfigure $f1
    
    ---- Result was:
    -blocking 1 -buffering full -buffersize 4096 -encoding utf-16 -eofchar {} -profile tcl8 -translation lfdev 1052727886 ino 61643019899690333 nlink 1 uid 0 gid 0 size 0 atime 1685000205 mtime 1685000205 ctime 1685000162 mode 33206 type file
    ---- Result should have been (exact matching):
        return $result
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: key "type" not known in dictionary
        while executing
    "dict get [fconfigure $fd -stat] type"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL LOOKUP DICT type
    ==== ioCmd-13.12 FAILED
    
    Warning: files left behind:
    	ioCmd.test:	iocmd13_12
    ioTrans.test
    iogt.test
    
    
    ==== iogt-1.3 stack/unstack, configuration, options FAILED
    ==== Contents of test case:
    
        set fh [open $path(dummy) r]
        set ca [asort [fconfigure $fh]]
        identity -attach $fh
        set cb [asort [fconfigure $fh]]
        testchannel unstack $fh
        set cc [asort [fconfigure $fh]]
        close $fh
        # With this system none of the buffering, translation and encoding option
        # may change their values with channels stacked upon each other or not.
        # cb == ca == cc
        list [string equal $ca $cb] [string equal $cb $cc] [string equal $ca $cc]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: list must have an even number of elements
        while executing
    "array set a $alist"
        (procedure "asort" line 3)
        invoked from within
    "asort [fconfigure $fh]"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ARGUMENT FORMAT
    ==== iogt-1.3 FAILED
    
    
    
    ==== iogt-1.4 stack/unstack, configuration FAILED
    ==== Contents of test case:
    
        set ca [asort [fconfigure $fh]]
        identity -attach $fh
        fconfigure $fh -buffering line -translation cr -encoding shiftjis
        testchannel unstack $fh
        set cc [asort [fconfigure $fh]]
        list [string equal $ca $cc] [fconfigure $fh -buffering]  [fconfigure $fh -translation] [fconfigure $fh -encoding]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: list must have an even number of elements
        while executing
    "array set a $alist"
        (procedure "asort" line 3)
        invoked from within
    "asort [fconfigure $fh]"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ARGUMENT FORMAT
    ==== iogt-1.4 FAILED
    
    </pre>
    
  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: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "24. Channel Commands"
  15. title changed to: "TIP #603 implementation broken on Windows"
  16. type changed to: "Bug"