Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 23bef2913461bb3fdbe8f8b8134591c5083574c2
Ticket: 579617ffffffffffffffffffffffffffffffffff
encodings can't be found
User & Date: jenglish on 2002-07-11 07:45:06
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    
    Part of the problem is that Tcl_FindExecutable() does a
    whole lot more than just finding the executable.  It also
    (indirectly) initializes all subsystems, sets the library
    path, and sets the encoding path.
    
    This presents something of a catch-22 for TclKit and similar
    programs: they need to find the executable to mount the VFS
    to set the library and encoding paths, but by the time
    Tcl_FindExecutable() returns these have already been set
    (after crawling up the filesystem looking for something that
    either isn't there or shouldn't be used!)
    
    We can't change Tcl_FindExecutable() (too many custom Tcl
    shells rely on this behaviour), but having a different
    routine that _only_ finds the executable would be helpful. 
    This wouldn't even need to go in the stubs table -- it, like
    Tcl_Main, is only needed for application initialization. 
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"