Artifacts Associated With Ticket 3e8074aea7
Ticket change [d66b54e3e3] (rid 208143) by max on 2023-01-12 17:07:02:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- 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. - foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "max"
- priority initialized to: "5 Medium"
- private_contact initialized to: "d0d0130695c671d8c2d3cab5f9bc3575b9d369e4"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "max"
- subsystem initialized to: "20. [interp]"
- title initialized to: "[interp limit time -seconds] has a y2k38 problem"
- type initialized to: "Bug"
Ticket change [a86dd8faef] (rid 208283) by jan.nijtmans on 2023-01-19 21:41:15:
- assignee changed to: "jan.nijtmans"
- icomment: "Proposed fix [504171c4e4b8f1e7|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [67f3350d5c] (rid 208448) by jan.nijtmans on 2023-01-27 21:49:28:
- closedate changed to: "2459972.40935604"
- closer changed to: "jan.nijtmans"
- icomment:
Fix is now merged to core-8-6-branch (higher branches already had this fixed) So, closing.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"