Overview
| Artifact ID: | bacea5888091a562cdb6cd684aaa122b6695a1eb |
|---|---|
| Ticket: | 1917650fffffffffffffffffffffffffffffffff
Tcl_ConvertToType(, , doubleType) incompatibility |
| User & Date: | hkoba on 2008-03-18 02:25:39 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Dear TCT. In 8.5.2rc1, I found Tcl_ConvertToType does not ensure conversion of obj to specific type. At least target type is double and string rep is like "100" (which fits to int), returned type is "int". In other words, SetDoubleFromAny can return int in some case. This can leads problems for C level extensions. For example, I found problem in TclRAL. It uses Tcl_ConvertToType and then internalRep.doubleValue. If this change is intentional, please change the manpage of Tcl_ConvertToType. Best regards.
- foundin changed to: "obsolete: 8.5.2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hkoba"
- subsystem changed to: "10. Objects"
- title changed to: "Tcl_ConvertToType(, , doubleType) incompatibility"
- type changed to: "Bug"