Artifacts Associated With Ticket 218342ffffffffff
Ticket change [a4d72d50ec] (rid 110271) by nobody on 2000-10-26 00:56:26:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4012 Bug Version: 8.2 SubmitDate: '2000-01-12' LastModified: '2000-03-30' Severity: LOW Status: Closed Submitter: wart ChangedBy: hobbs OS: Windows NT FixedDate: '2000-10-25' ClosedDate: '2000-03-30' The environment variable TCLLIBPATH is used to add more values to the Tcl "auto_path" variable. If you use a native path type on NT, with backslashes, the resulting string undergoes backslash substitution before being added to the auto_path. The result is that a path like: c:\foobar is added to the auto_path as: c:foobar This does not occur with TCL_LIBRARY when setting the tcl_library variable. To reproduce: c:\> set TCLLIBPATH=c:\foobar\foo c:\> set TCL_LIBRARY=c:\valid\path c:\> tclsh % set auto_path c:foobarfoo [...] % set tcl_library c:\valid\path The difference between these two is that TCLLIBPATH is treated as a list, while TCL_LIBRARY is not. According to the library man page: env(TCLLIBPATH) If set, then it must contain a valid Tcl list giv- ing directories to search during auto-load opera- tions. This variable is only used when initializ- ing the auto_path variable. I don't know if there's a realistic way around this; I suppose we could preprocess the string, and backslash the backslashes, but that will just increase load time. Also, by definition, tcl lists have backslash substitution performed. Comments? - eric -- 03/30/2000 ericm In this case, based on the docs and the usage, Tcl style paths should be used, so the user would have to enter C:/foobar/foo. Perhaps this should be doc'ed. -- 03/30/2000 hobbs - foundin initialized to: "obsolete: 8.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "07. Variables"
- title initialized to: "TCLLIBPATH can't contain \ character"
- type initialized to: "Bug"
Ticket change [47f6699aa7] (rid 99801) by welch on 2000-10-26 08:20:07:
- closedate changed to: "2000-10-26T01:20:07"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"