Skip to content
Tcl Source Code Artifact [f58b5ecf67]
Login

Artifact [f58b5ecf67]

Artifact f58b5ecf67bba3a9238f6e870e659f3d6b75dea1:

Ticket change [f58b5ecf67] - New ticket [1246399fffffffff|1246399fff] <i>error command faile to set errorCode</i>. by alvinpleung on 2005-07-27 23:01:01.
D 2005-07-27T23:01:01
J assignee dkf
J cmimetype text/plain
J comment I\sam\scurrrently\susing\stcl\s8.4.9\swith\sItcl\s3.2.\s\sMy\nprogram\sthrows\san\serror\swith\serror\scode\sinside\sone\sof\nthe\sitcl\sobject\smethod.\s\sHowever,\sthe\serrorcode\sin\sthe\nglobal\sscope\sdid\snot\sget\supdated.\n\n\n#Error\scode\sin\stcl\s\nsaveErrorCode\s-\sNONE\n\n#tclCmdAH.c:563\sfor\stcl8.4.9\swith\sItcl\s3.2\nerrorCode\s=\sTOOMANYWIRETYPE\n\n#Error\scode\sin\stcl\s\nsaveErrorCode\s-\sNONE\n\nproc\ssaveErrorCode\s{name\sindex\sop}\s{\nputs\s"saveErrorCode\s-\s[set\s$name]"\n}\n\ntrace\svariable\serrorCode\srwu\ssaveErrorCode\n\n#\strace\sis\sgenerated\nif\s{[catch\s{$a\srun\s$xmlf}\smsg]}\s{\n...\n}\n\nI\schanged\stclCmdAH.c:563\sfrom\nTcl_SetVar2Ex(interp,\s"errorCode",\sNULL,\sobjv[3],\nTCL_GLOBAL_ONLY);\n\nto\n\nTcl_ObjSetVar2(interp,\siPtr->execEnvPtr->errorCode,\nNULL,\sobjv[3],\sTCL_GLOBAL_ONLY);\n\n\nThe\strace\schanged\sto\n#Error\scode\sin\stcl\nsaveErrorCode\s-\sNONE\n\n#tclCmdAH.c:563\sfor\stcl8.4.9\swith\sItcl\s3.2\nerrorCode\s=\sTOOMANYWIRETYPE\n\n#Error\scode\sin\stcl\nsaveErrorCode\s-\sTOOMANYWIRETYPE\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter alvinpleung
J subsystem 16.\sCommands\sA-H
J title error\scommand\sfaile\sto\sset\serrorCode
J type Bug
K 1246399fffffffffffffffffffffffffffffffff
U alvinpleung
Z 26407ea0f0d5a864264b50d53a70c0f3