Artifacts Associated With Ticket 0d78177f20
Ticket change [8b12baab62] (rid 222022) by jan.nijtmans on 2024-02-01 21:09:57:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Running <pre> Tcl_ObjPrintf(interp, "%lu", 18446744073709551615UL) </pre> on a 64-bit platform gives: <pre> Unable to format "%lu" with supplied arguments: -1 </pre> The problem is in function AppendPrintfToObjVA()'s use of va_arg(): it generates a negative Tcl_WideInt in this case. - foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "48. Number Handling"
- title initialized to:
unsigned use of Tcl_ObjPrintf() doesn't work as expected
- type initialized to: "Bug"
Ticket change [84aef70283] (rid 222033) by jan.nijtmans on 2024-02-01 22:14:17:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460342.42659317"
- closer changed to: "jan.nijtmans"
- foundin changed to: "8.7"
- icomment:
Fixed in core-8-branch and trunk. It appears that this bug was introduced with TIP #476: I tried it with 8.6 as well, and there it works as expected. So, can be closed now.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"