Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 495999f8e2b11f1d59a9e16121537c20559644e5
Ticket: 219269ffffffffffffffffffffffffffffffffff
Wrong channel kind for stdin/out/err when pipes/sockets/seri
User & Date: nobody on 2000-10-26 05:09:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1370 Bug
    Version: 8.0.4
    SubmitDate: '1999-03-02'
    LastModified: '1999-10-29'
    Severity: SER
    Status: UnAssn
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Alexandre FERRIEUX
    
    ReproducibleScript:
    fconfigure stdin
    # does *not* show the proper socket options when it's a socket
    # same when it's a serial device
    fileevent stdin readable MyProc
    # fails when it's a pipe on Windows, *even* in 8.1
    
    ObservedBehavior:
    The channel type of stdin/out/err are not computed from trhe underlying file descriptor. They are just hypothetized to be console/regular.
    
    DesiredBehavior:
    A few ioctls should be issued on stdin/out/err, and also on the result of [open] (because of [open /dev/fd/N] on Solaris and Linux, which can yield *any* descriptor), to decipher their nature, and attach whatever specific behavior would be given to their kind if created from Tcl (fconfigure options for sockets and serial; reader thread for pipes on 8.1/Windows).
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "60. NRE and coroutines"
  10. title changed to:
    Wrong channel kind for stdin/out/err when pipes/sockets/seri
    
  11. type changed to: "Bug"