Artifacts Associated With Ticket 217822ffffffffff
Ticket change [0e35a67135] (rid 94571) by nobody on 2000-10-26 00:44:21:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1481 Bug Version: 8.0.5 SubmitDate: '1999-03-11' LastModified: '2000-01-31' Severity: MED Status: Closed Submitter: welch ChangedBy: ericm RelatedBugIDs: 1657 1115 1549 1558 1559 OS: All FixedDate: '2000-10-25' FixedInVersion: 8.1 ClosedDate: '2000-01-31' Name: Erik Allaert Extensions: TclX 8.0.3, itcl 3.0.1, BLT 2.4g, Img 1.1.4, Tktable 2.4, msqltcl 1.99 ReproducibleScript: te13 eallaert: 260 > itclsh % auto_mkindex ../lib/libseqTcl.tcl *.tcl invalid command name "$parser" % set errorInfo invalid command name "$parser" while executing "{$parser} eval { _%@namespace import -force ::itcl::* }" ("eval" body line 1) invoked from within "eval $cmd" (procedure "auto_mkindex_parser::init" line 28) invoked from within "auto_mkindex_parser::init" (procedure "auto_mkindex" line 19) invoked from within "auto_mkindex ../lib/libseqTcl.tcl *.tcl" % Patch: *** init.tcl.orig Thu Feb 11 04:06:23 1999 --- init.tcl Wed Mar 10 14:49:41 1999 *************** *** 908,914 **** proc auto_mkindex_parser::slavehook {cmd} { variable initCommands ! lappend initCommands [list \$parser eval $cmd] } # auto_mkindex_parser::command -- --- 908,914 ---- proc auto_mkindex_parser::slavehook {cmd} { variable initCommands ! lappend initCommands "\$parser eval [list $cmd]" } # auto_mkindex_parser::command -- *************** *** 959,965 **** set exportCmd [list _%@namespace export [namespace tail $name]] $parser eval [list _%@namespace eval $ns $exportCmd] set alias [namespace tail $fakeName] ! $parser invokehidden proc $name {args} [list _%@eval $alias \$args] $parser alias $alias $fakeName } else { $parser alias $name $fakeName --- 959,965 ---- set exportCmd [list _%@namespace export [namespace tail $name]] $parser eval [list _%@namespace eval $ns $exportCmd] set alias [namespace tail $fakeName] ! $parser invokehidden proc $name {args} "_%@eval $alias \$args" $parser alias $alias $fakeName } else { $parser alias $name $fakeName PatchFiles: library/init.tcl This bug has apparently to do with the fact that the "list" command wants to "neutralize" $-signs by putting braces around it. The corresponding pieces of Tcl's 8.0.4 init.tcl code did (therefore ?) not use "list", were OK, and are put back in place by this patch. [BRENT SAYS:] The patch is only partially right. The first fix in the patch is good. I think the second invoke hidden should be: $parser invokehidden proc $name {args} "_%@eval {$alias} \$args" ------------ This bug was fixed in Tcl 8.1. Another bug ticket relating to it was issued and resolved, but this one was not marked as a duplicate and closed until now. - eric -- 01/31/2000 ericm - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "56. LibTomMath"
- title initialized to: "auto_mkindex does not work with itclsh"
- type initialized to: "Bug"
Ticket change [975b3db545] (rid 106487) by welch on 2000-10-26 07:49:20:
- closedate changed to: "2000-10-26T00:49:20"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [96b888e0b7] (rid 106373) by dgp on 2001-04-06 02:18:42:
- closedate changed to: "2001-04-05T19:18:42"
- closer changed to: "dgp"
- subsystem changed to: "38. Init - Library - Autoload"