.
D 2000-10-26T00:53:00
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1718\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-04-05'\nLastModified:\s'1999-12-03'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s4.5.3\nFixedDate:\s'2000-10-25'\nFixedInVersion:\sNA\nClosedDate:\s'1999-12-03'\n\n\nName:\s\sScott\sSussman\n\nReproducibleScript:\ninterp->errorLine\s=\s0;\nresult\s=\sTcl_VarEval(interp,\s"return\s\\"",\n\s\s\s\s\sevent->func->arglist->value.strv,\s"\\"",\s0);\nif\s(interp->errorLine)\sresult\s=\sTCL_ERROR;\n\nusing\sthe\sabove\scode\sresult\sgets\sset\sto\s2\s(event->func->arglist->value.strv\sis\sa\sstring\si.e.\s"ENET_HDR",\sso\sthe\sentire\sstring\ssent\sto\stcl_VarEval\sis\s\n'return\s\\"ENET_HDR\\"')\swhich\sis\scorrect\s(TCL_RETURN)\syet\sthe\sinterp->errorLine\sget\sset\sto\s1\sand\sthe\sfollowing\sif\sforces\sthe\svalue\sof\sresult\sto\sTCL_ERROR.\sthe\sfix\sfor\sus\swas\sto\suse\sthe\sTcl_VarEval\sreturn\svalue\sto\scheck\sfor\spass\sor\sfail\srather\sthan\s\sinterp->errorLine.\sIs\sthis\sa\sknown\sproblem?\s\n\nThanks,\n\nScott\sSussman\nWalts\sDevelpment\sGroup\sLeader\nBay\sNetworks\n\n\n\nThe\sreturn\svalue\sis\sthe\sdocumented\sway\sto\sdetermine\san\serror,\nand\sthe\sother\sis\sstrongly\sdiscouraged\s(not\sguaranteed\sto\sbe\nupwards\scompatible).\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Tcl_VarEval\sreturns\ssuccessfully,\sset\sinterp->errorLine\sto\s1
J type Bug
K 218085ffffffffffffffffffffffffffffffffff
U nobody
Z 86970438af76323d7b9430c5d58f754e