.
D 2008-12-02T21:44:39
J assignee kennykb
J cmimetype text/plain
J comment \nI\snotice\sin\sthe\sSlaveCreate()\sroutine:\n\n\s\s\s\s/*\n\s\s\s\s\s*\sThe\s[clock]\scommand\spresents\sa\ssafe\sAPI,\sbut\suses\sunsafe\sfeatures\sin\n\s\s\s\s\s*\sits\simplementation.\sThis\smeans\sit\shas\sto\sbe\simplemented\sin\ssafe\sinterps\n\s\s\s\s\s*\sas\san\salias\sto\sa\sversion\sin\sthe\s(trusted)\smaster.\n\s\s\s\s\s*/\n\n\s\s\s\sif\s(safe)\s{\n\s\s\s\s\s\s\s\sTcl_Obj\s*clockObj;\n\s\s\s\s\s\s\s\sint\sstatus;\n\n\s\s\s\s\s\s\s\sTclNewLiteralStringObj(clockObj,\s"clock");\n\s\s\s\s\s\s\s\sTcl_IncrRefCount(clockObj);\n\s\s\s\s\s\s\s\sstatus\s=\sAliasCreate(interp,\sslaveInterp,\smasterInterp,\sclockObj,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sclockObj,\s0,\sNULL);\n\s\s\s\s\s\s\s\sTcl_DecrRefCount(clockObj);\n\s\s\s\s\s\s\s\sif\s(status\s!=\sTCL_OK)\s{\n\s\s\s\s\s\s\s\s\s\s\s\sgoto\serror2;\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n\n\s\s\s\sreturn\sslaveInterp;\n\n\s\serror:\n\s\s\s\sTclTransferResult(slaveInterp,\sTCL_ERROR,\sinterp);\n\s\serror2:\n\s\s\s\sTcl_DeleteInterp(slaveInterp);\n\n\nWhat\sis\sthe\sreason\sto\sbypass\sthe\sreporting\sof\nthe\serror\smessage\swhen\sfailure\sto\screate\sthe\n[clock]\salias\slead\sto\sfailure\sto\screate\sthe\nslave\sinterp?\n\n
J foundin obsolete:\s8.6a4
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 06.\sTime\sMeasurement
J title [clock]\salias\sin\ssafe\sslave
J type Bug
K 2379689fffffffffffffffffffffffffffffffff
U dgp
Z 09440ef3ed6fd89ccfd44b35d5402c9e