Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b455ad2fa978a3b891d95c6ecd5422e0d43c70c1
Ticket: 1350946fffffffffffffffffffffffffffffffff
Tcl_CreateSlave forgets tcl_library
User & Date: dgp on 2005-11-09 04:49:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    There may be a bug or
    a feature request here, but
    I need some help figuring it out.
    Excerpting...
    
    "<venks> I have a program that links multiple versions
    of tcl together
    <venks> in the part that I have written, I set
    tcl_library before initiazliing
    the interpreter, so that the right path is used for
    initialization"
    
    Ok, first the whole thing sounds pretty
    dicey to me, but assuming you make
    it work, why does each Tcl_Interp
    need to have ::tcl_library set to
    find "the right path" for finding init.tcl ?
    Any properly installed Tcl library
    ought to be able to find "the right" init.tcl
    without assistance.  
    
    If you find that not to be true, I'd suggest
    that's the real bug needing to be tracked
    down and corrected.
    
    It is true that Tcl_CreateSlave() doesn't
    offer the same hooks as Tcl_Main() for
    getting at the interp prior to the Tcl_Init()
    call.  That might suggest the need for
    an enhancement, but I'll want to understand
    your motivating case better before I go there.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"