Skip to content
Tcl Source Code Artifact [8aeefd5d01]
Login

Artifact [8aeefd5d01]

Artifact 8aeefd5d01364dfef2378168ab6030fecc4c4924:

Ticket change [8aeefd5d01] - Ticket [415179ffffffffff|415179ffff] <i>TIP#27: tclBasic.c and related files.</i> status still Open with 5 other changes by hobbs on 2001-04-12 02:26:26.
D 2001-04-12T02:26:26
J assignee kennykb
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nTcl_CreateCommand:\sOK\s(cmdName)\nTcl_CreateMathFunc:\sOK\s(name)\nTcl_CreateObjCommand:\sOK\s(cmdName)\nTcl_DeleteAssocData:\sOK\s(name)\nTcl_DeleteCommand:\sOK\s(cmdName)\nTcl_ExposeCommand:\sOK\s(hiddenCmdToken)\nTcl_Expr*:\sOK\s(string)\n\s\sDanger\sWill\sRobinson!\n\nLet's\slook\sat\sTcl_ExprDouble\sand\swatch\sfor\sa\scareful\sgotcha\s\nthat\smight\shit\ssomewhere\sin\sthe\sfuture.\s\sTcl_ExprDouble\s\nfirst\screates\sa\sTcl_Obj,\swhich\sis\sthe\sonly\sthing\sthat\smakes\s\nthis\sOK,\sbut\sTcl_NewStringObj\smakes\sa\scopy\sof\sstring.\s\s\nHowever,\sfollowing\sthe\scall\stree\sof\sTcl_ExprDouble,\swe\s\nreach\sTcl_ParseExpr,\swhich\s*will*\smodify\sthe\sstring\sthat\s\ncould\sbe\sa\sshared\sstring\sin\sTcl_Obj.\s\sThis\sdoesn't\saffect\s\nthe\sCONST'ifying\shere,\sbut\sin\sgeneral\sexposes\sa\sBad\sThing\s\n(tm).\s\sIt\scould\slead\sto\sodd\sproblems\sin\sa\sthreaded\s\nenvironment....\s\sThat\ssaid,\sI\sgo\son...\n\nTcl_GetAssocData:\sOK\s(name)\nTcl_GetCommandInfo:\sOK\s(cmdName)\nTcl_HideCommand:\sOK\s(cmdName)\nTcl_SetAssocData:\sOK\s(name)\nTcl_SetCommandInfo:\sOK\s(cmdName)\n\nCallCommandTraces:\sOK\s(oldName,\snewName)\nTraceCommandProc:\sOK\s(oldName,\snewName)\n\s\s\sDanger\sWill\sRobinson!\n\nPreviously\sTcl_VarTraceProc\sdidn't\senforce\sCONST\s(directly\s\nrelated\sto\sthe\sabove),\sand\snow\sit\swill.\s\sThis\swill\sbe\san\s\nincompatability\sfor\sanyone\sthat\smodified\sthe\spassed\sin\s\nstrings\s(I\sdon't\sknow\swhy\sthey\swould,\sbut\sit\swas\slegal\s\nbefore).\n\nTclGetNameSpaceForQualName:\sOK\s(qualName,\s*simpleNamePtr)\nTcl_CreateNamespace:\sOK\s(name)\nTcl_FindCommand:\sOK\s(name)\n\s\sThose\sneed\sto\sbe\smade\spublic,\sBTW\n\n\n
J login hobbs
J mimetype text/plain
J username hobbs
K 415179ffffffffffffffffffffffffffffffffff
U hobbs
Z aaa316a3f58ac80dd4dba5fcc40c6f5b