Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eac58b7f1c127e136e09a3a84125abe0710d98c5
Ticket: 219360ffffffffffffffffffffffffffffffffff
open does not notice EIO in check for tty
User & Date: hobbs on 2001-09-13 05:55:35
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    Attached is a C file which gives more information.  The 
    interesting thing to note is that isatty is setting errno, 
    not open (although I see nothing in the man pages about 
    that).  OK, RH 6.2 mentions nothing about errno, but other 
    man pages indicate EBADF or ENOTTY can be returned - but 
    not EIO.  Why, even on open source OSes, do we have to rely 
    on magic in the OS?
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"