Overview
| Artifact ID: | d171574b16eb68cb92768a1f906e295ac5245a85 |
|---|---|
| Ticket: | 2255235fffffffffffffffffffffffffffffffff
platform::shell::generic is broken |
| User & Date: | uring on 2008-11-10 12:01:52 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
the following 2 commands are broken: platform::shell::generic platform::shell::identity see file: library/platform/shell.tcl - installed as a tcl-module in tcl8/8.4/shell-1.1.3.tm actually, the bug is located in the 3rd code line of the internal procedure ::platform::shell::LOCATE foreach {cmd base} $pl break this line tries to extract the pathname of the sourced module platform-1.0.3.tm, which is expected to be the 2nd item of the list returned by the previous command [package ifneeded platform [package require platform]] nowadays we find something more complex like: "package provide platform 1.0.3; source -encoding ...". so, variable base becomes "provide", which is not what we want. suggested PATCH: use set base [lindex $pl end] to get the filepath. regards, Ulrich - foundin changed to: "obsolete: 8.5.5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "uring"
- subsystem changed to: "69. Other"
- title changed to: "platform::shell::generic is broken"
- type changed to: "Bug"