Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7103b1e0c1a22e20224ae8d90beec3269476ef83
Ticket: 218458ffffffffffffffffffffffffffffffffff
oversharing bug in objects
User & Date: nobody on 2000-10-26 01:00:37
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 606 Bug
    Version: 8.0p2
    SubmitDate: '1998-05-21'
    LastModified: '1999-08-06'
    Severity: MED
    Status: Released
    Submitter: hershey
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-08-06'
    FixedInVersion: 8.0.5
    ClosedDate: '2000-10-25'
    
    
    >This script:
    >
    >       #!/bin/sh
    >       # next line is a comment in tcl  >       exec tclsh "$0" ${1+"$@"}
    >
    >       puts [format {%d} [expr 10]]
    >       puts [format {%f} 10]
    >       puts [format {%d} [expr 10]]
    
    >
    >produces this error:
    >
    >       $ ./bug.tcl
    >       10
    >       10.000000
    >       expected integer but got "10.0"
    >           while executing
    >       "format {%d} [expr 10]"
    >           (file "./bug.tcl" line 7)
    >
    >The problem is somehow caused by the Tcl_GetDoubleFromObj()
    >which is used by "format {%f}"
    >
    >John Ellson
    
    This bug was fixed in or before 8.0.5. 
    -- 08/06/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0p2"
  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: "10. Objects"
  10. title changed to: "oversharing bug in objects"
  11. type changed to: "Bug"