Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c401ed8eb6090cfa558bd2753a45dc7726bbf26
Ticket: 1072136fffffffffffffffffffffffffffffffff
change to tcl_findLibrary breaks freewrap
User & Date: cjmcdonald on 2004-11-23 21:51:35
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    A recent change to tcl_findLibrary in auto.tcl,
    released in Tcl 8.4.8, breaks freewrap. 
    
    For all platforms freewrap stores its Tcl & Tk
    library files in a zip based virtual filesystem,
    under directories named /tcl & /tk. These
    directories are pointed to by the TCL_LIBRARY &
    TK_LIBRARY environment variables set in the
    application initialisation.
    
    The recent change to tcl_findLibrary introduced
    use of file normalize in the section "# uniqify
    $dirs in order". Unfortunately under Windows, file
    normalize changes the /tk directory path by
    treating it as a volume relative name, and
    applying the default device name e.g to become
    D:/tk. The result of this is that Tk fails to find
    its library files and freewrap doesn't initialise.
    
    Note that freewrap is not using the modern tcl
    virtual file system api. Instead it is using the
    old TclPro hooks, which may explain why file
    normalize manipulates /tk as a Windows path.
    
    Removing the file normalize fixes the problem.
    
  4. foundin changed to: "obsolete: 8.4.8"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "cjmcdonald"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "change to tcl_findLibrary breaks freewrap"
  11. type changed to: "Bug"