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

2018-04-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18714

FeepingCreature  changed:

   What|Removed |Added

   Severity|enhancement |normal

--


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

2018-04-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18714

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


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

2018-04-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18714

--- Comment #1 from github-bugzi...@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.

--