Overview
| Artifact ID: | d881ee2f47951f94c24169712788d50ec1a5772f |
|---|---|
| Ticket: | 3600057fffffffffffffffffffffffffffffffff
[string is double "0x5"] bug? |
| User & Date: | dkf on 2013-09-08 23:43:24 |
Changes
- assignee changed to: "dgp"
- closer changed to: "nobody"
- icomment:
In that case <i>you</i> take responsibility for getting it in. Assigned to you; if you assign back to me, I'll just commit the code to the main branch.<p>The issue is exactly that the code is not the same as <tt>Tcl_GetDoubleFromObj</tt> in that it allows “<tt>0x5</tt>” and “<tt>0o5</tt>” through despite these not being allowed in a real call to that function (which is what <tt>lsearch -real</tt> and <tt>lsort -real</tt> use internally). There is also (pre-patch) no test case that checks whether the domains of what is accepted and what rejected is reasonable in these edge cases.<p>The one downside is that <tt>string is double 0x5</tt> returned <tt>1</tt> in 8.4 too. I'm guessing that that was always an oversight.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "None"
- status changed to: "Open"
- username: "dkf"