kernel32: avoid thread-unsafe function gmtime()

Dmitry Timoshkov dmitry at codeweavers.com
Tue Jun 3 20:57:19 CDT 2008


"Dan Kegel" <dank at kegel.com> wrote:

> Using gmtime() in a multithreaded program could
> result in invalid results.  So use the safer alternative
> gmtime_r() if it's available.

Most likely gmtime_r() should be used without #ifdefs and a replacement
put in libs/port.

-- 
Dmitry.



More information about the wine-devel mailing list