Overview
| Artifact ID: | 0aa13776e6d6b7e283be1cc35dff0b03eea1c4b8 |
|---|---|
| Ticket: | 791751ffffffffffffffffffffffffffffffffff
missing "direct" variable in pkg_mkIndex |
| User & Date: | marcomaggi on 2003-08-20 07:35:57 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
With TCL 8.4.4 there's an error in [pkg_mkIndex]. Create the file: # proof.tcl -- package provide boo proc baa {} { return } # end and the file: # hurtme.tcl -- pkg_mkIndex -direct -verbose . ./proof.tcl # end then: $ tclsh hurtme.tcl shows the error: can't read "::tcl::direct": no such variable The problem is on line 371 of "package.tcl": if { $doVerbose } { if { !$::tcl::direct } { tclLog "commands provided were $cmds" } ... } "tcl::direct" exists in the $c interpreter, not in the main interpreter. Maybe it was supposed to be "$direct", if I modify it that way it seems to work. I see that in TCL 8.4.3 the inner [if] was not present. - foundin changed to: "obsolete: 8.4.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "marcomaggi"
- subsystem changed to: "39. Package Manager"
- title changed to: "missing "direct" variable in pkg_mkIndex"
- type changed to: "Bug"