Changeset - r25479:5d0b41ec5e3a
master
0
6
1
Codechange: use thread safe time functions
Functions like localtime, gmtime and asctime are not thread safe as they (might) reuse the same buffer. So use the safer _s/_r variant for localtime and gmtime, and use strftime in favour of asctime.
Functions like localtime, gmtime and asctime are not thread safe as they (might) reuse the same buffer. So use the safer _s/_r variant for localtime and gmtime, and use strftime in favour of asctime.
7 files changed with 94 insertions and 16 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)