.
D 2000-10-26T00:52:15
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1135\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1999-02-02'\nLastModified:\s'1999-04-16'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\swelch\nChangedBy:\srjohnson\nOS:\sWindows\sNT\nOSVersion:\s4.0\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-04-16'\n\n\nName:\nKirk\sAugustin\n\nExtensions:\nAim\n\nCustomShell:\nlots\n\nReproducibleScript:\nappend\senv(TMP)\s"xxx"\n\n#\swhere\sTMP\sis\sany\svalid\senv\sentry,\sand\s"xxx"\sis\sany\sstring.\n\nObservedBehavior:\n#\sYou\sget\sa\sPurify\serror,\sand\s\nputs\s$env(TMP)\s\n#\sis\sgarbage\n\nDesiredBehavior:\nobvious\n\nPatch:\n#\sin\sfile\sgeneric\\tclEnv.c,\sfunction\sTclSetEnv,\smove\n\s\s\s\s/*\n\s\s\s\s\s*\sUpdate\sall\sof\sthe\sinterpreters.\n\s\s\s\s\s*/\n\n\s\s\s\sfor\s(eiPtr=\sfirstInterpPtr;\seiPtr\s!=\sNULL;\seiPtr\s=\seiPtr->nextPtr)\s{\n(void)\sTcl_SetVar2(eiPtr->interp,\s"env",\s(char\s*)\sname,\n(char\s*)\svalue,\sTCL_GLOBAL_ONLY);\n\s\s\s\s}\n#\sTo\sthe\send\sof\sthe\sfunction,\sAFTER\sthe\senv\sentry\sfor\sthe\slocal\sinterpreter\sis\s\n#\sappended.\s\sThis\sprevents\sthe\senv\strace\sin\sother\sinterpeters\sfrom\sgoing\scyclic.\n\nPatchFiles:\n#\sfile:\sgeneric\\tclEnv.c\n#\sfunction:\sTclSetEnv()\n\n\n\nThe\sold\scode\stried\sto\supdate\sthe\sother\sinterpreters\sbefore\supdating\sits\sown\sinterpreter\senv,\sbut\seach\sinterpreter\sfired\straces\sand\scaused\san\sendless\scycle,\suntil\smemory\swas\scorrupted.\n\nThis\sworks\sin\s8.1.\s\sClosing\sthis\sbug.\s\s04/16/1999\s18:31\s-\srjohnson\s-\n\n
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title unable\sto\sappend\sto\sa\svalue\sof\senv
J type Bug
K 218020ffffffffffffffffffffffffffffffffff
U nobody
Z 01c3c32b42a331f78697cc485219ac9e