| 145 | static acl_pthread_once_t once_control = ACL_PTHREAD_ONCE_INIT; |
| 146 | |
| 147 | struct tm *acl_localtime_r(const time_t *t, struct tm *result) |
| 148 | { |
| 149 | if (acl_pthread_once(&once_control, timezone_init) != 0) { |
| 150 | abort(); |
| 151 | } |
| 152 | nolocks_localtime(result, *t, timezone, daylight_active); |
| 153 | return result; |
| 154 | } |
| 155 | |
| 156 | #elif defined(ACL_WINDOWS) |
| 157 |
no test coverage detected
searching dependent graphs…