Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7cd99042f85b040a7661e9c1811a8abccbc8b3996a575c09a18ed95bc64604bc
Ticket: e368ba6683926255f5f109c478e91c63fbce32f9
ThreadSafeLocalTime(): check if localtime_r() encountered error
User & Date: chrstphrchvz on 2023-09-20 22:37:25
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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.
    
  5. foundin changed to: "8.6.13"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "chrstphrchvz"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to:
    ThreadSafeLocalTime(): check if <tt>localtime_r()</tt> encountered error
    
  16. type changed to: "Patch"