view modules/time_r @ 40231:9b3c79fdfe0b

strtod: fix clash with strtold Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). * lib/strtod.c (compute_minus_zero, minus_zero): Simplify by remving the macro / external variable, and having just a function. User changed. This avoids the need for an external variable that might clash.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 11 Mar 2019 16:40:29 -0700
parents a54e54654635
children
line wrap: on
line source

Description:
Reentrant time functions: localtime_r, gmtime_r.

Files:
lib/time_r.c
m4/time_r.m4

Depends-on:
extensions
time

configure.ac:
gl_TIME_R
if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
  AC_LIBOBJ([time_r])
  gl_PREREQ_TIME_R
fi
gl_TIME_MODULE_INDICATOR([time_r])

Makefile.am:

Include:
<time.h>

License:
LGPLv2+

Maintainer:
Paul Eggert