|
2000-10-26
| ||
| 08:22 | • Closed ticket [218458ffff]: oversharing bug in objects plus 4 other changes artifact: 6e7fc0c271 user: welch | |
| 01:00 | • New ticket [218458ffff]. artifact: 7103b1e0c1 user: nobody | |
oversharing bug in objects
Closed / Fixed218458ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:00:37
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
welch Closed ticket [218458ffff].
[History diff]2000-10-26 08:22:17
Log in (anonymous is fine) to add a comment.