Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7dd8e0641846dc2458191740c8e787554087d76
Ticket: 2928272fffffffffffffffffffffffffffffffff
Channel Names Incorrect in Threads
User & Date: jenglish on 2010-08-05 07:29:20
Changes

  1. icomment:
    >I've always thought this was a bad behavior,
    { agreed }
    > but it was taken from libc behavior.
    
    ... and for the record, it was taken *incorrectly*; Tcl's treatment of closed std* channels was based on an apparent misunderstanding.
    
    In C,  fclose(stdin);  followed by a successfull call to fopen("whatever","r");  does *not* magically resurrect the stdin FILE *, and never has.
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"