Skip to content
Tcl Source Code Artifact [b643c027a8]
Login

Artifact [b643c027a8]

Artifact b643c027a8883748326cdd1ff6ace724056b0378:

Ticket change [b643c027a8] - New ticket [218902ffffffffff|218902ffff] <i>auto_mkindex reports error which is not existing</i>. by nobody on 2000-10-26 01:07:25.
D 2000-10-26T01:07:25
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2611\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-08-31'\nLastModified:\s'2000-01-28'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sericm\nRelatedBugIDs:\s2480\nOS:\sAll\nFixedDate:\s'2000-01-28'\nFixedInVersion:\s8.3\nClosedDate:\s'2000-10-25'\n\n\nName:\nHermann\sBoeken\n\nReproducibleScript:\nscript\sdummy.tcl:\n\s\s\s\s\n\s\s\s\s--------------------------------------------------\n\s\s\s\sset\sdummy_string\s"{dummy}\s{return\s\\$dummy}"\n\s\s\s\s\n\s\s\s\sproc\sdummy_proc\s{}\s{\n\s\s\s\s\n\s\s\s\s#empty\n\s\s\s\s\n\s\s\s\s}\n\s\s\s\s--------------------------------------------------\n\s\s\s\s\n\s\s\s\s\n\s\s\s\sStart\sa\stclsh\s(8.1)\sand\sperform\sthe\scommand\s<auto_mkindex\s.\s*.tcl>,\n\s\s\s\swhere\sthe\sabove\sscript\sdummy.tcl\sis\sin\sthe\scurrent\sdirectory.\n\nObservedBehavior:\nThe\sabove\scommand\sproduces\sthe\sfollowing\serror\smessage:\n\s\s\s\s\n\s\s\s\scan't\sread\s"dummy":\sno\ssuch\svariable\n\s\s\s\s\n\s\s\s\sPutting\sthe\scommand\sin\sa\sscript\s<auto.tcl>\sand\sexecuting\sit\swith\sthe\n\s\s\s\stclsh\sgives\ssome\smore\n\s\s\s\sinformation\son\sthis\sunexpected\serror\smessage:\n\s\s\s\scan't\sread\s"dummy":\sno\ssuch\svariable\n\s\s\s\s\s\s\s\swhile\sexecuting\n\s\s\s\s"set\sdummy_string\s"{dummy}\s{return\s\\\\$dummy}""\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s<----\s\n\s\s\s\s\s\s\s\sinvoked\sfrom\swithin\n\s\s\s\s"$parser\seval\s$contents"\n\s\s\s\s\s\s\s\s(procedure\s"auto_mkindex_parser::mkindex"\sline\s25)\n\s\s\s\s\s\s\s\sinvoked\sfrom\swithin\n\s\s\s\s"auto_mkindex_parser::mkindex\s$file"\n\s\s\s\s\s\s\s\s(procedure\s"auto_mkindex"\sline\s25)\n\s\s\s\s\s\s\s\sinvoked\sfrom\swithin\n\s\s\s\s"auto_mkindex\s.\s*.tcl\n\s\s\s\s"\n\s\s\s\s\s\s\s\s(file\s"auto.tcl"\sline\s1)\n\nDesiredBehavior:\nAs\swith\sTcl\s8.0.5\sI\sexpect\sa\stclIndex\sto\sbe\sgenerated\swhich\scontains\sthe\n\s\s\s\sfollowing\scontents:\n\s\s\s\s\n\s\s\s\s-------------------------------------------\n\s\s\s\s#\sTcl\sautoload\sindex\sfile,\sversion\s2.0\n\s\s\s\s#\sThis\sfile\sis\sgenerated\sby\sthe\s"auto_mkindex"\scommand\n\s\s\s\s#\sand\ssourced\sto\sset\sup\sindexing\sinformation\sfor\sone\sor\n\s\s\s\s#\smore\scommands.\s\sTypically\seach\sline\sis\sa\scommand\sthat\n\s\s\s\s#\ssets\san\selement\sin\sthe\sauto_index\sarray,\swhere\sthe\n\s\s\s\s#\selement\sname\sis\sthe\sname\sof\sa\scommand\sand\sthe\svalue\sis\n\s\s\s\s#\sa\sscript\sthat\sloads\sthe\scommand.\n\s\s\s\s\n\s\s\s\sset\sauto_index(dummy_proc)\s[list\ssource\s[file\sjoin\s$dir\sdummy.tcl]]\n\s\s\s\s-------------------------------------------\n\n\n\nVerified\sin\s8.2.1\s\n--\s10/29/1999\shobbs\n\nThis\swas\scaused\sby\san\sover-aggressive\sattempt\sto\sprotect\sfrom\sundefined\svariables\sin\sthe\ssource\sbeing\sindexed.\s\sIt\swas\sadding\sa\sbackslash\sescape\sfor\severy\sdollar\ssign\sit\ssaw,\seven\sif\sthe\sdollar\swas\salready\sescaped\s(as\swas\sthe\scase\shere).\s\sOf\scourse,\sre-escaping\san\sescaped\sdollar\ssign\sbasically\smeans\sthat\sthe\sdollar\ssign\sis\snot\sescaped\sat\sall,\swhich\slead\sto\sthe\serror\syou\ssaw.\nThis\sis\sfixed\sin\s8.3.\n\n-\seric\n\n--\s01/28/2000\sericm\n\n
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 56.\sLibTomMath
J title auto_mkindex\sreports\serror\swhich\sis\snot\sexisting
J type Bug
K 218902ffffffffffffffffffffffffffffffffff
U nobody
Z 42437c060c04f9abc68df7cc9948705b