.
D 2000-10-26T01:10:45
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5922\sBug\nVersion:\s8.4a1\nSubmitDate:\s'2000-06-20'\nLastModified:\s'2000-06-20'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sericm\nOS:\sLinux-SuSE\nFixedDate:\s'2000-06-20'\nFixedInVersion:\s8.4a2\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nChristian\sKrone\n\n\n\nObservedBehavior:\n\nThe\spattern\sand\sstring\sargument\sof\sthe\s"string\smatch"\scommand\sare\scrossed.\n\nThis\sway\sthere\smay\sbe\smore\sentries\sin\sthe\scache\sthan\sneeded.\n\n\n\nPatch:\n\n***\soptparse.tcl.org\s\s\s\sFri\sApr\s16\s02:47:18\s1999\n\n---\soptparse.tcl\s\s\s\s\s\s\s\sTue\sJun\s20\s15:50:06\s2000\n\n***************\n\n***\s253,259\s****\n\n\s\s#\sinto\slocal\svariable\snamed\s"Args".\n\n\s\sproc\s::tcl::OptProc\s{name\sdesc\sbody}\s{\n\n\s\s\s\s\s\sset\snamespace\s[uplevel\snamespace\scurrent];\n\n!\s\s\s\s\sif\s{\s\s\s([string\smatch\s$name\s"::*"])\n\n\s\s\s\s\s\s\s\s\s\s||\s([string\scompare\s$namespace\s"::"]==0)}\s{\n\n\s\s\s\s\s\s\s\s\s\s#\sabsolute\sname\sor\sglobal\snamespace,\sname\sis\sthe\skey\n\n\s\s\s\s\s\s\s\s\s\sset\skey\s$name;\n\n---\s253,259\s----\n\n\s\s#\sinto\slocal\svariable\snamed\s"Args".\n\n\s\sproc\s::tcl::OptProc\s{name\sdesc\sbody}\s{\n\n\s\s\s\s\s\sset\snamespace\s[uplevel\snamespace\scurrent];\n\n!\s\s\s\s\sif\s{\s\s\s([string\smatch\s"::*"\s$name])\n\n\s\s\s\s\s\s\s\s\s\s||\s([string\scompare\s$namespace\s"::"]==0)}\s{\n\n\s\s\s\s\s\s\s\s\s\s#\sabsolute\sname\sor\sglobal\snamespace,\sname\sis\sthe\skey\n\n\s\s\s\s\s\s\s\s\s\sset\skey\s$name;\n\n\n\nPatchFiles:\n\noptparse.tcl\n\n\n\n\n\nThanks\sfor\sthe\spatch.\s\sI\sapplied\sit\sto\sthe\ssources\sin\sthe\sCVS\srepository,\sand\sthe\sfix\swill\sgo\sout\swith\sTcl\s8.4a2.\s\sYou\sshould\snote\sthat\swe\sdiscourage\suse\sof\sthe\sopt\spackage\sin\sfavor\sof\sthe\scmdline\spackage\sthat\sis\spart\sof\stcllib.\s\scmdline\sis\smore\ssophisticated\sand\sreliable\sthan\sopt\sis.\s\sGo\sto\shttp://dev.scriptics.com/software/tcllib/\sfor\smore\sinformation.\s\sThanks!\n\n-\seric\n\n--\s06/20/2000\sericm\n\n
J foundin obsolete:\s8.4a1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title opt0.4:\swrong\sargument\sorder\sin\stcl::OptProc
J type Bug
K 219101ffffffffffffffffffffffffffffffffff
U nobody
Z 2cbfdbafc50f241936cbc29f9d596f76