Skip to content
Tcl Source Code History Of Ticket 218498
Login

History Of Ticket 218498

Artifacts Associated With Ticket 218498

  1. Ticket change [0f43c08e5a] (rid 94758) by nobody on 2000-10-26 01:01:21:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 722 Bug
      Version: 8.0.3
      SubmitDate: '1998-10-13'
      LastModified: '1999-08-06'
      Severity: SER
      Status: Released
      Submitter: admin
      ChangedBy: hobbs
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '1999-08-06'
      FixedInVersion: 8.0.4
      ClosedDate: '2000-10-25'
      
      
      ReproducibleScript:  The following script:
      
              puts "Tcl: version: $tcl_version, patch=$tcl_patchLevel"
      
              set addr 0x100
              puts "addr $addr"
      
              exit
      
              if {1 < 0x100} {}
      
      When I run it on a FreeBSD tcl7.6 system it prints the expected hex value:
      
              Tcl: version: 7.6, patch=7.6p2
              addr 0x100
      
      When I run it on a FreeBSD tcl8.0 system, addr is no longer in hex:
      
              Tcl: version: 8.0, patch=8.0p2
              addr 256
      
      When I run it on a NT4.0 tcl8.0.3 system, addr is no longer in hex:
      
              Tcl: version: 8.0, patch=8.0.3
              addr 256
      
      If I change "0x100" in the if statement to some other value,
      addr prints in hex.  I.e.  the value of "addr"
      in the initial set command and the value in the if command must
      be the same to cause this unexpected change to addr.
      
      Same problem if the "if" statement is changed to a "for" statement .
      
      ObservedBehavior:  Expands $addr to 256.
      DesiredBehavior:  Should expand $addr to 0x100 .
      Comments:  I posted this to comp.lang.tcl with the subject
      "tcl8.0.3 unexpected evaluation" a couple of days ago.
      
      
      This was due to overaggressive object type determination and
      has been fixed since 8.0.4. 
      -- 08/06/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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: "10. Objects"
    10. title initialized to:
      incorrect variable evaluation of variable with value 0x100
      
    11. type initialized to: "Bug"
  2. Ticket change [089c0beda5] (rid 89598) by welch on 2000-10-26 08:23:18:

    1. closedate changed to: "2000-10-26T01:23:18"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"