aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmalloc.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-241/+0
2005-09-22Sync from gnulib.Paul Eggert1-1/+1
2005-06-22From gnulib:Jim Meyering1-3/+15
(HAVE_GNU_CALLOC): New constant. (xcalloc): Use it to avoid needless tests.
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2004-10-05Rename xclone to xmemdup. Remove obsolete xalloc macros.Paul Eggert1-2/+10
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
2004-08-09Remove dependency of xalloc on error, etc.Paul Eggert1-27/+1
2004-06-01Update from gnulib.Jim Meyering1-12/+4
2003-11-22(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.Jim Meyering1-5/+5
2003-10-31Update from gnulib.Jim Meyering1-19/+125
2003-10-16Include <string.h>, for declarations of memset and memcpy.Jim Meyering1-1/+2
2003-10-13Import latest version from gnulib.Jim Meyering1-15/+62
2003-09-13Include "xalloc.h" first, to check interface.Jim Meyering1-15/+4
Include <stdlib.h> unconditionally. Include exit.h. (EXIT_FAILURE): Remove; now done by exit.h
2003-07-18Merge with gnulib. Use a single exit_failure variable ratherJim Meyering1-5/+2
than a separate one for each module.
2003-06-18expand copyright years to sync with gnulibJim Meyering1-1/+3
2003-04-11Remove use of PARAMS.Jim Meyering1-2/+2
2002-11-22Change compile-time error message. Add comment aboutJim Meyering1-10/+7
required autoconf version. Include gettext.h instead of <libintl.h>. (textdomain): Remove definition.
2002-07-20Adjust to work with new autoconf macros, AC_FUNC_MALLOCJim Meyering1-5/+5
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
2001-01-26[HAVE_DONE_WORKING_MALLOC_CHECK]: Enclose error-evokingJim Meyering1-2/+2
line in double quotes so that it evokes a better diagnostic. [HAVE_DONE_WORKING_REALLOC_CHECK]: Likewise.
2000-08-07(xalloc_msg_memory_exhausted): Now char const[],Jim Meyering1-4/+3
not char *const and pointing to a constant array. (xrealloc): Comment fix.
2000-07-31Use `virtual memory exhausted', not `Memory exhausted'.Jim Meyering1-1/+1
2000-07-09update copyright dateJim Meyering1-1/+1
1999-09-26(xalloc_die): Rename from xalloc_fail and update callers.Jim Meyering1-5/+9
Use explicit exit to help avoid warnings.
1999-09-01(xalloc_fail_func): Use `PARAMS'.Jim Meyering1-1/+1
1999-04-18(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.Jim Meyering1-1/+1
1999-03-08(xalloc_fail): Use "%s" format so the message doesn'tJim Meyering1-2/+2
have to be scanned for % signs. Suggestion from François Pinard.
1999-01-01Add comments.Jim Meyering1-20/+4
(xcalloc, xmalloc, xrealloc): Remove prototypes. (calloc): Remove `#ifdef NOT_USED' that used to hide this function.
1998-12-07ansideclifyJim Meyering1-9/+5
1997-11-15remove fixup_null_alloc prototypeJim Meyering1-2/+1
1997-11-03make sure autoconf tests have been runJim Meyering1-0/+7
1997-11-03(xalloc_fail): Renamed from fixup_null_alloc.Jim Meyering1-32/+24
(xcalloc): #ifdef-out unused function. (xrealloc): Remove code to work around deficient versions of realloc. Now we have an autoconf-enabled replacement version. (xmalloc): Remove code to work around deficient versions of malloc. Now we have an autoconf-enabled replacement version.
1997-10-26(xalloc_fail_func): Initialize to 0, not NULL.Jim Meyering1-1/+1
1997-10-25Include xalloc.h.Jim Meyering1-24/+30
Change VOID to void. (xalloc_exit_failure): Renamed extern. (xalloc_msg_memory_exhausted): New extern. (xalloc_fail_func): New extern. (fixup_null_alloc): Use new variables.
1996-10-17libitizeJim Meyering1-7/+33
1996-07-15indent cpp-directivesJim Meyering1-5/+5
1996-07-15update FSF address in copyright and remove any trailing blanksJim Meyering1-2/+2
1995-03-20sync from FSFJim Meyering1-21/+59
1992-11-01Initial revisionJim Meyering1-0/+65