Overview
| Artifact ID: | e62b47f2538ce4f2422c792ae4491f41b9c12d62 |
|---|---|
| Ticket: | 455642ffffffffffffffffffffffffffffffffff
Inconsistent $tcl_libPath and DISTNAME |
| User & Date: | dgp on 2001-08-27 02:10:45 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
The routine TclpInitLibraryPath constructs a search path for Tcl, and stores it in the Tcl variable ::tcl_libPath. The path is used in the search for an init.tcl file by the default operation of Tcl_Init(). The intent is to include on this path the names of several directories, relative to the executable, where the init.tcl might be in any of the various directory layouts of Tcl, both installed and development. Some of the directories meant to represent the development directory layout include the name of the root directory. In forming that name, the rule is followed that for alpha and beta releases, the name is tcl[info patchlevel], while for stable releases, the name is tcl[info tclversion]. Looking at the name of the root directory created by Tcl's own 'make dist' target, however, the root directory name of a Tcl source distribution is: DISTNAME = tcl@TCL_VERSION@@TCL_PATCH_LEVEL@ That is, the full patch level is always used. These different parts of Tcl should agree about what the root directory name of a Tcl source distribution is. Here's a patch, correcting TclpInitLibraryPath, and also correcting [tcl_findLibrary] so it remains consistent as well.
- foundin changed to: "obsolete: 8.4a4"
- 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: "Inconsistent $tcl_libPath and DISTNAME"
- type changed to: "Bug"