Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7a49ff8b6a2fc3145b7ca741f2dda6a2304022ce
Ticket: 484023ffffffffffffffffffffffffffffffffff
small Tcl_MakeFileChannel issue
User & Date: davygrvy on 2001-11-21 03:09:03
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    :Windows
    
    If you create a namedpipe which only uses one handle
    for both read and write and give it to 
    Tcl_MakeFileChannel(), a problem arises when the
    channel is closed because the close2proc is set to
    think read and write are 2 different handles and
    closes each of them.  This goes *boom* :)
    
    Attached is a patch that I think fixes this.
    
    The core does not used namedpipes anywhere, but I
    found this issue while working on Expect.
    
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davygrvy"
  9. subsystem changed to: "27. Channel Types"
  10. title changed to: "small Tcl_MakeFileChannel issue"
  11. type changed to: "Bug"