Overview
| Artifact ID: | 4e155819e5fabcfad4ad2c19f541d5430a50b10d |
|---|---|
| Ticket: | 931061ffffffffffffffffffffffffffffffffff
tcl_libPath holds invalid path: @TCL_IN_FRAMEWORK@ |
| User & Date: | dgp on 2004-04-10 02:57:05 |
Changes
- assignee changed to: "das"
- icomment:
Logged In: YES user_id=80530 It appears that a compile time boolean has to get compiled into the Tcl library to serve as a signal for Tcl_MacOXSGetLibraryPath() to call Tcl_MacOSXOpenVersionedBundleResources(). That should not be a problem. However, rather than invent such a boolean, the compiling in of the TCL_LIBRARY value into the global variable defaultLibraryDir has been repurposed -- making use of a magic string value. This achieves the goal, it appears, but the magic value also leaks out into the value of the Tcl variable ::tclDefaultLibrary and into the thread-global C variable tclLibraryPath and tclLibraryPathStr . That's causing this test to fail, and also doesn't seem to make sense generally. Why should the string value @TCL_IN_FRAMEWORK@ appear as an element in a list of what should be directory names? Seems to me the right fix here is to create the compiled in boolean that's needed without piggy-backing on the other compiled-in values. If I'm missing something, let me know.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"