Overview
| Artifact ID: | 084d81f455777cdc5e25bd21f43cb6347aa78891 |
|---|---|
| Ticket: | 832657ffffffffffffffffffffffffffffffffff
TclpInitLibraryPath fails for path containing .. |
| User & Date: | dgp on 2003-10-29 20:46:01 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
When constructing paths from the executable name, the special meaning of /../ in a path name is not honored. For example, if you do a fresh build of Tcl and Tk in their unix directories, respectively, then cd to tk8.4.5/win and run $ ../unix/wish Application initialization failed: Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.4 /local/src/tk8.4/win/../lib/tcl8.4 /local/src/tk8.4/win/lib/tcl8.4 /local/src/tk8.4/win/../library /local/src/tk8.4/win/library /local/src/tk8.4/win/tcl8.4.5/library /local/src/tk8.4/tcl8.4.5/library /usr/local/lib/tcl8.4 This probably means that Tcl wasn't installed properly. Note that the third to last path in the search list is the one that should succeed, if the original path were normalized before processing. Fixing this means either correcting all three TclpInitLibraryPath routines, or normalizing the path before calling (only one caller). - foundin changed to: "obsolete: 8.4.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to: "TclpInitLibraryPath fails for path containing .."
- type changed to: "Bug"