.
D 2011-06-16T18:58:52
J assignee hobbs
J cmimetype text/plain
J comment \nThe\swhole\stclLink.c\sfile\srelies\son\sa\sconstraint\nthat\sa\sTcl\svariable\sis\sonly\slinked\sto\sone\sC\svariable\nat\sa\stime.\s\sHowever,\sTcl_LinkVar()\sdoes\snothing\nto\sdetect\sand\sprevent\sviolations\sof\sthis\sconstraint.\n\nDetection\sis\seasy.\s\sPrevention\scould\stake\stwo\nforms.\s\sEither\sraise\san\serror,\sor\slet\sthe\ssecond\nTcl_LinkVar()\scall\son\sthe\ssame\sTcl\svariable\nimplicitly\sTcl_UnlinkVar()\sany\sprevious\slink\sthat's\nalready\sin\splace.
J foundin obsolete:\s8.5.9
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 09.\sLinked\sC\sVariables
J title Tcl_LinkVar\sshould\sprevent\sduplicates
J type Bug
K 3317466fffffffffffffffffffffffffffffffff
U dgp
Z 0e6eaf7324946fc213a941a7844b12b4