Artifacts Associated With Ticket e368ba6683
Ticket change [7cd99042f8] (rid 218541) by chrstphrchvz on 2023-09-20 22:37:25:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
In response to bug [1237907], <tt>ThreadSafeLocalTime()</tt> checks whether <tt>localtime()</tt> encountered an error (e.g. <tt>EOVERFLOW</tt>) by checking if the return value is <tt>NULL</tt>: [96beb107b193]. The same check is needed for <tt>localtime_r()</tt> as well. See attached patch.
- foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "06. Time Measurement"
- title initialized to:
ThreadSafeLocalTime(): check if <tt>localtime_r()</tt> encountered error
- type initialized to: "Patch"
Ticket change [eab774a8d3] (rid 218542) by chrstphrchvz on 2023-09-20 22:37:40:
- login: "chrstphrchvz"
- mimetype: "text/plain"
- title changed to:
ThreadSafeLocalTime(): check if localtime_r() encountered error
Add attachment "e368ba668392.diff" [36e2c4f70a] (rid 218544) by chrstphrchvz on 2023-09-20 22:41:38.
Add attachment "localtime-tests.diff" [95092dd3c7] (rid 218547) by chrstphrchvz on 2023-09-21 00:13:36.
Ticket change [e1ab185e15] (rid 218548) by chrstphrchvz on 2023-09-21 00:16:24:
- icomment:
I would like to propose non-regression tests for this: see localtime-tests.diff. However I have not completely verified their portability, and maybe their formatting can be improved.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [2838d4e03b] (rid 222156) by oehhar on 2024-02-07 17:36:36:
- closedate changed to: "2460348.23375738"
- closer changed to: "oehhar"
- icomment: "As the patch was merged, it might be closed, no?"
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "oehhar"
Ticket change [c943a26389] (rid 222157) by oehhar on 2024-02-07 17:37:21:
- closedate changed to: "2460348.23427977"
- icomment: "Merged by commit [c94812e9a9]"
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
Ticket change [32217abc79] (rid 222266) by chrstphrchvz on 2024-02-16 10:38:42:
- closedate changed to: "2460356.94354931"
- closer changed to: "chrstphrchvz"
- icomment:
If there is no interest in having non-regression tests for this (similar to those in the other attached patch) then I will not reopen this.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"