ThreadSafeLocalTime(): remove redundant localtime() call
Closed / Accepted47902ec47adecf35372f57ecc7320f1fa4bc972aCreated 3 years agoUpdated 3 years ago
Descriptionwiki2023-09-20 22:16:49
Since [96beb107b1] (the fix for [1237907]), ThreadSafeLocalTime() calls localtime() a second time, which I believe is unnecessary. See attached patch.
Referenced by2
67b8c1207fMerge [862eaba11a22af37], "Fix testcase for [00655c867e] (making it independent from timezone)", "Fix [47902ec47a]: ThreadSafeLocalTime(): remove redundant localtime() call", and "Fix [e368ba6683]: ThreadSafeLocalTime(): check if localtime_r() encountered error". check-in2024-08-22 13:44:0431248a111cFix [47902ec47a]: ThreadSafeLocalTime(): remove redundant localtime() call check-in2023-09-21 11:06:57
chrstphrchvzwiki2023-09-29 06:59:29
Committed in [31248a111cd1]; closing.
Log in (anonymous is fine) to add a comment.
Attachments:
- 47902ec47ade.diff [download] added by chrstphrchvz on 2023-09-20 22:24:44. [details]