Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b3cc3ee7971a90990991a1a0117092f90dfb0aca
Ticket: 2849797fffffffffffffffffffffffffffffffff
channel name inconsistencies
User & Date: dkf on 2009-09-03 09:00:32
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Consider this trace...
    
    % close stderr; open /dev/tty w
    file2
    % file channels
    stdin stdout stderr
    % fconfigure stderr -buffering none
    % puts stderr BOO
    BOO
    % puts file2 BOO2
    BOO2
    
    Now the issues... [open] is returning a name that isn't listed by [file channels], and [puts] (and any other channel command) is working with both the 'standard' name (file2) and the 'magic' name (stderr). Let channels only ever have a single name, and let lookups always only work with that name. And when working with FDs 0, 1 or 2, let the name be the 'magic' one because that's what scripts expect (irrespective of what the [open] command - or any other channel creator - expects).
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  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: "dkf"
  10. subsystem changed to: "25. Channel System"
  11. title changed to: "channel name inconsistencies"
  12. type changed to: "Bug"