Skip to content
Tcl Source Code Artifact [35fccc3a69]
Login

Artifact [35fccc3a69]

Artifact 35fccc3a6920c90239a2bfd6638e22a99b3b3694:

Ticket change [35fccc3a69] - New ticket [218950ffffffffff|218950ffff] <i>l people listed in &quot;Ou</i>. by nobody on 2000-10-26 01:08:31.
D 2000-10-26T01:08:31
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2971\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-28'\nLastModified:\s'1999-11-03'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\swart\nChangedBy:\shershey\nOS:\sAll\nFixedDate:\s'1999-11-03'\nFixedInVersion:\s8.2.1\nClosedDate:\s'2000-10-25'\n\n\nIn\sthe\sfollowing\scode,\sthe\sfiles\sare\sdownloaded\sin\sthe\sorder:\n1,\s257,\s258,\s259...\s\s2-256\sare\sskipped.\s\sThis\shappens\sbecause\nthe\shttp2.0\spackage\suses\sthe\svariable\s"i"\sin\sthe\snamespace\swithout\nfirst\sdeclaring\sit.\s\sThe\sresult\sis\sthat\sit\sfinds\sa\slocal\svariable\n"i"\sand\suses\sit\sinstead,\sthus\shosing\sthe\svalue\sthat\swe\swanted\sfor\s"i".\n\nset\sbaseURL\shttp://foo.bar.baz/\n\nfor\s{set\si\s1}\s{$i\s<=\s500}\s{incr\si}\s{\n\s\s\s\sputs\s"Downloading\spage\s$i"\n\s\s\s\sset\stoken\s[http::geturl\s$baseURL$i.html]\n\s\s\s\sset\sfileId\s[open\s$i.html\sw]\n\s\s\s\sputs\s$fileId\s[http::code\s$token]\n\s\s\s\sclose\s$fileId\n}\n\n\nFix:\s\sdeclare\s"variable\si"\sin\sthe\shttp\snamespace\sbefore\susing\sit.\s\sOther\ntemporary\svariables\sshould\sbe\schecked\sto\ssee\sthat\sthey\swon't\spotentially\nhose\suser\svariable\sin\sthe\sglobal\sscope.\n--\nThis\sfix\sis\salready\sin\sthe\shttp\s2.1\spkg\sfor\s8.2.1.\s\n--\s09/28/1999\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title l\speople\slisted\sin\s"Ou
J type Bug
K 218950ffffffffffffffffffffffffffffffffff
U nobody
Z a0aee95d75584746d05c60e1330092fb