view modules/time_r @ 17305:0e5a583a2a8d

regex: test for buffer overrun * m4/regex.m4 (gl_REGEX): Add test case, by Andreas Schwab, for the just-fixed regex bug.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 Jan 2013 22:34:58 -0800
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