Skip to content
Tcl Source Code History Of Ticket 0d78177f20
Login

History Of Ticket 0d78177f20

Artifacts Associated With Ticket 0d78177f20

  1. Ticket change [8b12baab62] (rid 222022) by jan.nijtmans on 2024-02-01 21:09:57:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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.
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "48. Number Handling"
    15. title initialized to:
      unsigned use of Tcl_ObjPrintf() doesn't work as expected
      
    16. type initialized to: "Bug"
  2. Ticket change [84aef70283] (rid 222033) by jan.nijtmans on 2024-02-01 22:14:17:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460342.42659317"
    3. closer changed to: "jan.nijtmans"
    4. foundin changed to: "8.7"
    5. 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.
      
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"