Overview
| Artifact ID: | 23bef2913461bb3fdbe8f8b8134591c5083574c2 |
|---|---|
| Ticket: | 579617ffffffffffffffffffffffffffffffffff
encodings can't be found |
| User & Date: | jenglish on 2002-07-11 07:45:06 |
Changes
- 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.
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"