D 2000-10-26T01:07:03 J assignee nobody J cmimetype text/plain J comment OriginalBugID:\s2502\sBug\nVersion:\s8.0p2\nSubmitDate:\s'1999-08-04'\nLastModified:\s'1999-08-05'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nMachine:\sOther\nFixedDate:\s'1999-08-05'\nFixedInVersion:\s8.2\nClosedDate:\s'2000-10-25'\n\n\nName:\nJosé\sSerrano\n\nExtensions:\nnone\n\nCustomShell:\nno\n\nComments:\nThere\sis\sobviously\ssomething\swrong\sin\sthe\simplementation\sof\n\s\s\s\s::http::geturl\sthat\sis\schanging\sthe\svalue\sof\si\sin\sa\spart\sof\sthe\sstack\n\s\s\s\sthat\sshouldn't\sbe\saffected\sby\sit.\n\nReproducibleScript:\nfor\s{set\si\s0}\s{$i\s<\s$times}\s{incr\si}\s{\n\s\s\s\sputs\s"the\svalue\sof\si\sis\s:\s$i"\n\s\s\s\s\s\s\s\s\s\s\s\sset\sval\s[::http::geturl\shttp://dalwhinnie.dcs.st-and.ac.uk:81]\n\s\s\s\s\s\s\s\s\s\s\s\sset\sret\s[::http::data\s$val]\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s$ret\n\s\s\s\sputs\s"new\svalue\s:\s$i"\n\s\s\s\s}\n\s\s\s\s\n\s\s\s\sI\scalled\sthis\sscript\sfrom\sthe\scommand\sline\n\s\s\s\s\n\s\s\s\sdalwhinnie%\s./test_query_http.tcl\n\nObservedBehavior:\nThe\sfor\sloop\sis\sonly\sexecuted\sonce,\sbecause\sthe\s'i'\svariable\sgets\n\s\s\s\schanged\sto\sthe\svalue\s257\safter\sthe\sexecution\sof\s::http::geturl\n\s\s\s\s\n\s\s\s\sExample:\n\s\s\s\sdalwhinnie%\s./test_query_http.tcl\n\s\s\s\sthe\svalue\sof\si\sis\s:\s0\n\s\s\s\s\n\s\s\s\s\n\s\s\s\s...\n\s\s\s\s\n\s\s\s\s\n\s\s\s\s...\n\s\s\s\s\n\s\s\s\s\n\s\s\s\s\n\s\s\s\snew\svalue\s:\s257\n\nDesiredBehavior:\nVariable\si\sshouldn't\sbe\saffected\sby\sthis!!!\sIn\sfact,\swhen\syou\schange\si\n\s\s\s\sfor\sj,\severything\sworks\sfine!\n\n\n\nThis\shas\sbeen\sfixed\sfor\sthe\s8.2b3\srelease.\s\n--\s08/05/1999\shobbs J foundin obsolete:\s8.0p2 J priority 5\sMedium J resolution None J status Open J submitter nobody J subsystem 69.\sOther J title ::http::geturl\sside-effects\son\s'i'\svariable J type Bug K 218875ffffffffffffffffffffffffffffffffff U nobody Z 528fdb97a036a1d477ace5fac7b2a6d0