Overview
| Artifact ID: | 8b12baab62c5ea831d6b532973f3d637aebfd9940ceb5d797cbc7b8f9e8990ec |
|---|---|
| Ticket: | 0d78177f20f8d1ae835446853338714b256c06cd
unsigned use of Tcl_ObjPrintf() doesn't work as expected |
| User & Date: | jan.nijtmans on 2024-02-01 21:09:57 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "8.6"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "48. Number Handling"
- title changed to:
unsigned use of Tcl_ObjPrintf() doesn't work as expected
- type changed to: "Bug"