Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 161762b749638bda3bab96296df10da8a4c7af36
Ticket: 2849797fffffffffffffffffffffffffffffffff
channel name inconsistencies
User & Date: ferrieux on 2009-09-08 03:23:13
Changes

  1. icomment:
    Yes, but it is the way people have been doing (unix-specific) std* redirections in Tcl since the beginning... So, reforming it the way you suggest is guaranteed to break scripts (eg Larry's on tclcore).
    
    Clearly I have sympathy with any consistent move at this point, and both extremes are consistent. The sad part is that both have potential losses of compatibility... Now let's weigh them:
    
     (1) Business As Usual: do nothing, close this item as Won't Fix
     (2) force-to-std* (Donal): possible breakage of contorted scripts eg depending on channel name prefix to recognize type
     (3) never-go-back-to-std* (Jan): clean, and isomorphic with Windows, but guaranteed to break scripts that do hackish unix redirections.
    
    IMHO (2) is a quick win which is 99.9% safe, while (3) is 90% safe, but the 10% can be fixed by a new [chan dup2/rename] or similar explicit, Tcl-channel-level redirection primitive.
    
    Opinions ?
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"