Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 084d81f455777cdc5e25bd21f43cb6347aa78891
Ticket: 832657ffffffffffffffffffffffffffffffffff
TclpInitLibraryPath fails for path containing ..
User & Date: dgp on 2003-10-29 20:46:01
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. 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).
    
    
  4. foundin changed to: "obsolete: 8.4.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "TclpInitLibraryPath fails for path containing .."
  11. type changed to: "Bug"