Overview
| Artifact ID: | f96884ebfb50ccd5a12ba5e63949e00929872a58 |
|---|---|
| Ticket: | 219309ffffffffffffffffffffffffffffffffff
TCL_LIBRARY can not be a standard Unix path list |
| User & Date: | dgp on 2001-08-27 08:22:40 |
Changes
- closedate changed to: "2001-08-27T01:22:40"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 The default Tcl_Init() behavior Tcl is to look for the init.tcl file first in the directory stored in the TCL_LIBRARY environment variable, if any. The purpose is to allow the final end user an opportunity to direct a program that calls Tcl_Init() exactly where to find an appropriate init.tcl file. This is really meant to be used as a last resort, enabling an end user to work around a broken installation of Tcl beyond his power to repair. It's not meant to provide a general-purpose search path facility, like UNIX's PATH variable. If you have a product that needs different values of TCL_LIBRARY for different configurations, then write a shell script wrapper around each configuration, setting TCL_LIBRARY to the appropriate variable. I don't see how having a multi-directory search path in TCL_LIBRARY would help manage the multiple configuration problem, because each configuration would still have the same value of $TCL_LIBRARY, and each would find the first init.tcl file available on that path.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "dgp"