Skip to content
Tcl Source Code History Of Ticket 218342
Login

History Of Ticket 218342

Artifacts Associated With Ticket 218342

  1. Ticket change [a4d72d50ec] (rid 110271) by nobody on 2000-10-26 00:56:26:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
      
    4. foundin initialized to: "obsolete: 8.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "TCLLIBPATH can't contain \ character"
    11. type initialized to: "Bug"
  2. Ticket change [47f6699aa7] (rid 99801) by welch on 2000-10-26 08:20:07:

    1. closedate changed to: "2000-10-26T01:20:07"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"