Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3d08f8dbd1420989b3c8e927f3330bd8963cfd6e
Ticket: 218951ffffffffffffffffffffffffffffffffff
Using the http package modifies global variable 'c'
User & Date: nobody on 2000-10-26 01:08:32
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2997 Bug
    Version: 8.2
    SubmitDate: '1999-09-29'
    LastModified: '1999-09-30'
    Severity: LOW
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: HP-UX
    Machine: Other
    FixedDate: '1999-09-30'
    FixedInVersion: 8.2.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Kåre Sjölander
    
    
    
    ReproducibleScript:
    
    package require http 
    
        set c 1
    
        ::http::geturl http://www.scriptics.com/
    
        puts $c
    
    
    
    ObservedBehavior:
    
    any global variable named c is modified when the http package is loaded.
    
    
    
    DesiredBehavior:
    
    variable c shouldn't be affected
    
    
    
    Patch:
    
    *** /usr/local/lib/tcl8.2/http2.1/http.tcl~     Thu Aug 19 18:27:09 1999
    
    --- /usr/local/lib/tcl8.2/http2.1/http.tcl      Wed Sep 29 16:06:06 1999
    
    ***************
    
    *** 27,32 ****
    
    --- 27,33 ----
    
          variable formMap
    
          set alphanumeric  a-zA-Z0-9
    
      
    
    +     variable c
    
          variable i 0
    
          for {} {$i <= 256} {incr i} {
    
            set c [format %c $i]
    
    
    
    PatchFiles:
    
    tcl8.2/http2.1/http.tcl
    
    
    
    
    
    Fixed in 8.2.1 
    -- 09/30/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Using the http package modifies global variable 'c'
    
  11. type changed to: "Bug"