Skip to content
Tcl Source Code History Of Ticket 3e8074aea74539cf
Login

History Of Ticket 3e8074aea74539cf

Artifacts Associated With Ticket 3e8074aea74539cf

  1. Ticket change [d66b54e3e3] (rid 208143) by max on 2023-01-12 17:07:02:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      ```
      % set i [interp create]
      interp0
      % $i limit time -seconds [expr {2**31-1}]
      % $i limit time -seconds [expr {2**31}]
      seconds must be at least 0
      % $i limit time -seconds [expr {2**32}]
      integer value too large to represent as non-long integer
      ```
      
      This breaks several of the interp-34.* tests that use `interp limit time -seconds` when run on a system whose time is past `clock format [expr {2**31-1}]`.
      
      A quick look at the code in tclInterp.c showed that `ChildTimeLimitCmd()` parses the argument to the `-seconds` switch using `TclGetIntFromObj()` where `TclGetLongFromObj()` or even `TclGetWideIntFromObj()` (like `[clock format]`) seems more appropriate to match up with the rest of time handling in Tcl, which doesn't have a y2k38 problem in general.
      
    5. foundin initialized to: "8.6.13"
    6. is_private initialized to: "0"
    7. login: "max"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "d0d0130695c671d8c2d3cab5f9bc3575b9d369e4"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "max"
    14. subsystem initialized to: "20. [interp]"
    15. title initialized to: "[interp limit time -seconds] has a y2k38 problem"
    16. type initialized to: "Bug"
  2. Ticket change [a86dd8faef] (rid 208283) by jan.nijtmans on 2023-01-19 21:41:15:

    1. assignee changed to: "jan.nijtmans"
    2. icomment: "Proposed fix [504171c4e4b8f1e7|here]"
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "Fixed"
    6. status changed to: "Pending"
  3. Ticket change [67f3350d5c] (rid 208448) by jan.nijtmans on 2023-01-27 21:49:28:

    1. closedate changed to: "2459972.40935604"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Fix is now merged to core-8-6-branch (higher branches already had this fixed)
      
      So, closing.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"