Artifacts Associated With Ticket 791751ffffffffff
Ticket change [0aa13776e6] (rid 113859) by marcomaggi on 2003-08-20 07:35:57:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "marcomaggi"
- subsystem initialized to: "39. Package Manager"
- title initialized to: "missing "direct" variable in pkg_mkIndex"
- type initialized to: "Bug"
Ticket change [b551f83af7] (rid 125223) by dgp on 2003-08-20 20:17:27:
- closedate changed to: "2003-08-20T13:17:27"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Thanks for the report, but this is already fixed. Duplicate Bug 776927.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dgp"