Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e8672d6b4a04b7eb398391fa91583efbd5a52b9
Ticket: 2849797fffffffffffffffffffffffffffffffff
channel name inconsistencies
User & Date: lars_h on 2009-09-10 01:37:23
Changes

  1. icomment:
    Adding to the confusion:
    
    % info pa
    8.6b1
    % open README r
    file5
    % puts file5 foo
    channel "file5" wasn't opened for writing
    % close file5
    % close stderr
    % open README r
    file2
    % file channels
    stdin stdout stderr
    % read file2 30
    README:  Tcl
        This is the T
    % read stderr 30
    cl 8.6b1 source distribution.
    
    % open README r
    file5
    % read file5 30
    README:  Tcl
        This is the T
    % puts file5 foo
    % 
    
    stderr can be open for reading, but it's no error to write to it. And this "not an error" state appears contagious, as the final [puts file5] doesn't throw an error anymore.
    
    
    
  2. login: "lars_h"
  3. mimetype: "text/plain"
  4. username: "lars_h"