summaryrefslogtreecommitdiff
path: root/lib/xmalloc.c
AgeCommit message (Collapse)Author
2005-06-22From gnulib:Jim Meyering
(HAVE_GNU_CALLOC): New constant. (xcalloc): Use it to avoid needless tests.
2005-05-14Update FSF postal mail address.Jim Meyering
2004-10-05Rename xclone to xmemdup. Remove obsolete xalloc macros.Paul Eggert
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
2004-08-09Remove dependency of xalloc on error, etc.Paul Eggert
2004-06-01Update from gnulib.Jim Meyering
2003-11-22(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.Jim Meyering
2003-10-31Update from gnulib.Jim Meyering
2003-10-16Include <string.h>, for declarations of memset and memcpy.Jim Meyering
2003-10-13Import latest version from gnulib.Jim Meyering
2003-09-13Include "xalloc.h" first, to check interface.Jim Meyering
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 Meyering
than a separate one for each module.
2003-06-18expand copyright years to sync with gnulibJim Meyering
2003-04-11Remove use of PARAMS.Jim Meyering
2002-11-22Change compile-time error message. Add comment aboutJim Meyering
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 Meyering
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
2001-01-26[HAVE_DONE_WORKING_MALLOC_CHECK]: Enclose error-evokingJim Meyering
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 Meyering
not char *const and pointing to a constant array. (xrealloc): Comment fix.
2000-07-31Use `virtual memory exhausted', not `Memory exhausted'.Jim Meyering
2000-07-09update copyright dateJim Meyering
1999-09-26(xalloc_die): Rename from xalloc_fail and update callers.Jim Meyering
Use explicit exit to help avoid warnings.
1999-09-01(xalloc_fail_func): Use `PARAMS'.Jim Meyering
1999-04-18(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.Jim Meyering
1999-03-08(xalloc_fail): Use "%s" format so the message doesn'tJim Meyering
have to be scanned for % signs. Suggestion from François Pinard.
1999-01-01Add comments.Jim Meyering
(xcalloc, xmalloc, xrealloc): Remove prototypes. (calloc): Remove `#ifdef NOT_USED' that used to hide this function.
1998-12-07ansideclifyJim Meyering
1997-11-15remove fixup_null_alloc prototypeJim Meyering
1997-11-03make sure autoconf tests have been runJim Meyering
1997-11-03(xalloc_fail): Renamed from fixup_null_alloc.Jim Meyering
(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 Meyering
1997-10-25Include xalloc.h.Jim Meyering
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 Meyering
1996-07-15indent cpp-directivesJim Meyering
1996-07-15update FSF address in copyright and remove any trailing blanksJim Meyering
1995-03-20sync from FSFJim Meyering
1992-11-01Initial revisionJim Meyering