[Issue 18714] Phobos calls localtime, which is not threadsafe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 3 09:22:01 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18714

--- Comment #1 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/5d6bf2bdd2fac4ba5da71893d50306963326eedb
Do not call localtime. It is not threadsafe. You will randomly return wrong
times in threaded apps. Fixes Issue 18714.

--


More information about the Digitalmars-d-bugs mailing list