.
D 2004-08-12T22:26:31
J assignee msofer
J cmimetype text/plain
J comment \nThe\sTclPtrSetVar()\sroutine\sprocesses\nthe\sTCL_LIST_ELEMENT\sflag\sonly\nwhen\sthe\sTCL_APPEND_VALUE\nflag\sis\salso\sset.\s\sThis\sis\san\serror\sthat\nwas\sintroduced\sin\srevision\s1.32\sof\ntclVar.c.\n\nFor\sexample,\n\nTcl_SetVar(i,\s"x",\s"a\sb",\sTCL_LIST_ELEMENT);\n\nwill\sset\sthe\svalue\sof\sx\sto\sbe\s"a\sb"\sand\nnot\s"{a\sb}"\sas\sit\sshould\saccording\sto\sthe\ndocs.\n\nThe\spublic\sroutine\sTcl_SetErrorCode()\scan\nalso\sbe\sused\sto\sdemo\sthis\sbug.\s\sIn\sparticular\n\nTcl_SetErrorCode(i,\s"{",\sNULL);\n\nwill\sstore\sa\svalue\sin\s::errorCode\sthat\sis\snot\na\svalid\sTcl\slist.\n
J foundin obsolete:\s8.4.7
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 07.\sVariables
J title Tcl_*SetVar*\smishandle\sTCL_LIST_ELEMENT
J type Bug
K 1008314fffffffffffffffffffffffffffffffff
U dgp
Z ba1b9f8d55184fb27d52a40206ad896d