Overview
| Artifact ID: | 67cc80b2c767d273181ea763060590a43335ce77640b42993b037061d0109d6e |
|---|---|
| Ticket: | bf2652aedf42e59076d8f29da8d87b48d83948bb
Tcl 9.1b1 with zipfs support: incorrect value for tcl_library variable |
| User & Date: | anonymous on 2026-09-29 14:21:26 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Today, I compiled the Unix version of Tcl/Tk 9.1b1 with zipfs support (the default). When I tried an old script, it failed on this line: source [info library]/init.tcl After some digging, I found that 'info library' was returning an incorrect value. Compare Tcl 9.0 to Tcl 9.1b1, both compiled with zipfs support on the same machine. % ~/tcltk9.1/bin/wish9.1 % echo [info library] /Users/rmtrines/tcltk9.1/lib/tcl9 % % ~/tcltk9/bin/wish9.0 % echo [info library] //zipfs:/lib/tcl/tcl_library % The problem with that: when Tcl 9.1 is compiled and installed with zipfs support, the directory tcltk9.1/lib/tcl9 does not contain the file init.tcl, needed by my script. When I run this sequence of commands in wish9.1: % set tcl_library //zipfs:/lib/tcl/tcl_library //zipfs:/lib/tcl/tcl_library % info library //zipfs:/lib/tcl/tcl_library % source [info library]/init.tcl % Hey, it works fine, no errors. So it's purely the value of tcl_library that is causing the problem.
- foundin changed to: "Tcl 9.1b1"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "07. Variables"
- title changed to:
Tcl 9.1b1 with zipfs support: incorrect value for tcl_library variable
- type changed to: "Bug"