Skip to content
Tcl Source Code Artifact [59bb2fea2b]
Login

Artifact [59bb2fea2b]

Artifact 59bb2fea2b30ec1f8ea1b6073391904be75b0466:

Ticket change [59bb2fea2b] - New ticket [2889257fffffffff|2889257fff] <i>[array startsearch] and friends do not work on env</i>. by mistachkin on 2009-10-30 06:28:10.
D 2009-10-30T06:28:10
J assignee hobbs
J cmimetype text/plain
J comment My\sresearch\sindicates\sthis\sis\sdue\sto\sthe\sEnvTraceProc\sfunction\scalling\sthe\sfunction\sTclSetupEnv\sfor\sall\s[array]\srelated\strace\soperations,\swhich\sdeletes\sthe\sentire\sglobal\senv\sarray\sand\sany/all\sexisting\sarray\ssearches\swith\sit\sas\spart\sof\sthe\sprocess\sof\s"synchronizing"\sthe\scontents\sof\sthe\senv\sarray\swith\sthe\sactual\senvironment.\s\sTherefore,\sit\sis\simpossible\sto\sactually\suse\sthe\sarray\ssearch\sfunctionality\swith\sthe\sglobal\senv\sarray.\n\nThis\sbug\salso\sseems\sto\sapply\sto\sTcl\s8.4\sand\s8.5.\n\nExample:\n\nset\ss\s[array\sstartsearch\senv];\s#\sreturns\sOK,\ss-1-env\narray\snextelement\senv\s$s;\s#\sreturns\sERROR,\scouldn't\sfind\ssearch\s"s-1-env"\n
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter mistachkin
J subsystem 08.\sEnvironment\sVariables
J title [array\sstartsearch]\sand\sfriends\sdo\snot\swork\son\senv
J type Bug
K 2889257fffffffffffffffffffffffffffffffff
U mistachkin
Z f01241238516cd2e2473e88fda1afd38