Files
bind9/lib/dns
Ondřej Surý 5ae4d3d94a Add C11 localtime_r and gmtime_r shims for Windows
On Windows, C11 localtime_r() and gmtime_r() functions are not
available.  While localtime() and gmtime() functions are already thread
safe because they use Thread Local Storage, it's quite ugly to #ifdef
around every localtime_r() and gmtime_r() usage to make the usage also
thread-safe on POSIX platforms.

The commit adds wrappers around Windows localtime_s() and gmtime_s()
functions.

NOTE: The implementation of localtime_s and gmtime_s in Microsoft CRT
are incompatible with the C standard since it has reversed parameter
order and errno_t return type.

(cherry picked from commit 08f4c7d6c0)
2020-03-17 15:45:35 -07:00
..
2020-02-24 22:04:43 -08:00
2020-03-16 18:53:20 +11:00
2020-02-24 22:04:43 -08:00
2020-02-12 15:37:33 +00:00
2020-03-04 12:41:01 +01:00
2020-02-24 22:04:43 -08:00
2020-02-24 22:04:43 -08:00
2020-01-13 15:06:35 +01:00
2019-10-04 14:34:21 +10:00
2019-09-12 19:31:56 +10:00
2020-02-21 14:09:59 -08:00
2020-03-13 13:37:04 +11:00
2020-02-24 22:04:43 -08:00
2020-02-21 14:09:59 -08:00
2019-08-28 16:26:24 +10:00
2020-03-09 16:52:58 -07:00
2019-11-05 23:07:07 +01:00