view modules/xalloc @ 4621:3d28ad4e18e2

Add time_r module. Change timegm, mktime, and strftime to use localtime_r and gmtime_r, now supplied by the time_r module. This fixes some timegm bugs and cleans up mktime and strftime a bit.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 06 Sep 2003 21:34:07 +0000
parents fd6696a97000
children 4753d416bf20
line wrap: on
line source

Description:
Memory allocation with out-of-memory checking.

Files:
lib/xalloc.h
lib/xmalloc.c
lib/xstrdup.c
m4/xalloc.m4

Depends-on:
malloc
realloc
error
gettext
exitfail

configure.ac:
gl_XALLOC

Makefile.am:
lib_SOURCES += xalloc.h xmalloc.c xstrdup.c

Include:
"xalloc.h"

Maintainer:
Bruno Haible