Overview
| Artifact ID: | 7cd99042f85b040a7661e9c1811a8abccbc8b3996a575c09a18ed95bc64604bc |
|---|---|
| Ticket: | e368ba6683926255f5f109c478e91c63fbce32f9
ThreadSafeLocalTime(): check if localtime_r() encountered error |
| User & Date: | chrstphrchvz on 2023-09-20 22:37:25 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "8.6.13"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "06. Time Measurement"
- title changed to:
ThreadSafeLocalTime(): check if <tt>localtime_r()</tt> encountered error
- type changed to: "Patch"