Skip to content
Tcl Source Code History Of Ticket 218875
Login

History Of Ticket 218875

Artifacts Associated With Ticket 218875

  1. Ticket change [75dcfbb7da] (rid 105465) by nobody on 2000-10-26 01:07:03:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2502 Bug
      Version: 8.0p2
      SubmitDate: '1999-08-04'
      LastModified: '1999-08-05'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Solaris
      Machine: Other
      FixedDate: '1999-08-05'
      FixedInVersion: 8.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      José Serrano
      
      Extensions:
      none
      
      CustomShell:
      no
      
      Comments:
      There is obviously something wrong in the implementation of
          ::http::geturl that is changing the value of i in a part of the stack
          that shouldn't be affected by it.
      
      ReproducibleScript:
      for {set i 0} {$i < $times} {incr i} {
          puts "the value of i is : $i"
                  set val [::http::geturl http://dalwhinnie.dcs.st-and.ac.uk:81]
                  set ret [::http::data $val]
                  puts $ret
          puts "new value : $i"
          }
          
          I called this script from the command line
          
          dalwhinnie% ./test_query_http.tcl
      
      ObservedBehavior:
      The for loop is only executed once, because the 'i' variable gets
          changed to the value 257 after the execution of ::http::geturl
          
          Example:
          dalwhinnie% ./test_query_http.tcl
          the value of i is : 0
          <HTML>
          <HEAD>
          ...
          </HEAD>
          <BODY BGCOLOR="#ffffff" TEXT="#0a197a" LINK="#0a197a" VLINK="#0a197a"
          ALINK=
          "#0a197a">
          ...
          </BODY>
          </HTML>
          
          new value : 257
      
      DesiredBehavior:
      Variable i shouldn't be affected by this!!! In fact, when you change i
          for j, everything works fine!
      
      
      
      This has been fixed for the 8.2b3 release. 
      -- 08/05/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0p2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "::http::geturl side-effects on 'i' variable"
    11. type initialized to: "Bug"
  2. Ticket change [0f6c6bc72f] (rid 94790) by welch on 2000-10-26 08:30:15:

    1. closedate changed to: "2000-10-26T01:30:15"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [511d56ccef] (rid 126087) by dgp on 2001-04-16 20:21:03:

    1. closedate changed to: "2001-04-16T13:21:03"
    2. closer changed to: "dgp"
    3. subsystem changed to: "29. http Package"