Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d56cc149a212e0e1e6c9b12e01467426b5ea8568
Ticket: 2928098fffffffffffffffffffffffffffffffff
standard channels not reinitialized correctly on windows
User & Date: afaupell on 2010-01-08 08:29:11
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    as documented here
    http://tmml.sourceforge.net/doc/tcl/StdChannels.html
    closing one of the standard channels and immediately opening a new channel should replace the recently closed standard channel
    
    here is a test script which demonstrats the problem:
    
      proc stdin {args} {
        switch -exact -- [lindex $args 0] {
            initialize { return {initialize finalize watch read} }
            read {
               return somedata
            }
        }
    }
    close stdin
    set chan [chan create read stdin]
    puts "$tcl_platform(platform): [chan names]"
    
    
    heres the output:
    windows: stdout rc0 stderr
    unix: stdin stdout stderr
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "afaupell"
  10. subsystem changed to: "25. Channel System"
  11. title changed to:
    standard channels not reinitialized correctly on windows
    
  12. type changed to: "Bug"