Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 610ba83d45075d66575347fe4425fb9dc9a1c6cc
Ticket: 408840ffffffffffffffffffffffffffffffffff
Patch for TIP 17
User & Date: vincentdarley on 2001-05-08 16:46:08
Changes

  1. icomment:
    
    
    File Added - 6074: tip17f.patch.gz
    
    Logged In: YES 
    user_id=32170
    
    I'm uploading a new patch and new documentation which 
    address all issues in private email, and put the 
    documentation into a pretty complete, final state (except 
    perhaps for inadequacies caused by my lack of knowledge of 
    nroff).
    
    On the two issues below:
    
    (i) library/init.tcl
    
    This error message is there so that a completely wrapped 
    Tcl implementation (e.g. a TclKit including the tcl test 
    suite) can pass the test suite.  We could easily add a 
    better error message to the code in init.tcl (in fact the 
    error message should always be about moving a directory 
    into itself, I believe), which would then require changes 
    to the test suite, but the equivalent code in tclFCmd.c 
    only does a check on 'errno == EINVAL' and then reports 
    that error message.  For the sake of compatibility and 
    simplicity, I would suggest leaving the code as is at 
    present.  We can file a feature request against Tcl that 
    init.tcl and tclFCmd.c should be improved to give a better 
    error message in these cases.
    
    (ii) TclpVerifyInitialEncodings.
    
    This is actually mentioned in TIP#17.  It is required by 
    any attempt to completely wrap up a Tcl installation.  This 
    is because in Tcl's init sequence, an attempt is made to 
    set up the encodings *very* early, which will fail.  We 
    need a way for a tclkit or prowrapped app to set the 
    encodings correctly.  I've now re-done this code so that 
    rather than adding a new function, the 
    TclpSetInitialEncodings can now be called multiple times, 
    and is exported in the stub table.  This also avoids 
    unnecessary code duplication.
    
    p.s. I also am not getting copies of comments.
    
    p.p.s. It would be good if someone deletes the old patch-
    uploads here.  I don't seem to have appropriate permissions.
    
    p.p.p.s.  The patch has Windoze EOLs
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"