Overview
| Artifact ID: | 5c401ed8eb6090cfa558bd2753a45dc7726bbf26 |
|---|---|
| Ticket: | 1072136fffffffffffffffffffffffffffffffff
change to tcl_findLibrary breaks freewrap |
| User & Date: | cjmcdonald on 2004-11-23 21:51:35 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.4.8"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "cjmcdonald"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to: "change to tcl_findLibrary breaks freewrap"
- type changed to: "Bug"