Tcl Source Code

View Ticket
Login
Ticket UUID: 47902ec47adecf35372f57ecc7320f1fa4bc972a
Title: ThreadSafeLocalTime(): remove redundant localtime() call
Type: Patch Version: 8.6.13
Submitter: chrstphrchvz Created on: 2023-09-20 22:16:49
Subsystem: 06. Time Measurement Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-09-29 06:59:29
Resolution: Accepted Closed By: chrstphrchvz
    Closed on: 2023-09-29 06:59:29
Description:

Since [96beb107b1] (the fix for [1237907]), ThreadSafeLocalTime() calls localtime() a second time, which I believe is unnecessary. See attached patch.

User Comments: chrstphrchvz added on 2023-09-29 06:59:29:

Committed in [31248a111cd1]; closing.


Attachments: