summaryrefslogtreecommitdiff
path: root/lib/xalloc.h
Commit message (Expand)AuthorAgeFilesLines
* * lib/xalloc.h (x2nrealloc): Fix an unlikely bug in the overflowPaul Eggert2007-02-041-3/+7
* Give tools a better chance to allocate space for very large buffers.Jim Meyering2007-02-011-7/+7
* * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): MovePaul Eggert2006-11-081-27/+45
* * lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc): Now staticPaul Eggert2006-11-061-39/+121
* Simplify xmalloc expressions. Add overflow check in xmalloc arguments.Bruno Haible2006-11-061-4/+49
* Avoid some C++ diagnostics reported by Bruno Haible.Paul Eggert2006-10-311-0/+43
* *** empty log message ***Paul Eggert2005-05-141-1/+1
* Rename xclone to xmemdup. Remove obsolete xalloc macros.Paul Eggert2004-10-051-13/+2
* Remove dependency of xalloc in exitfail, error, gettext.Paul Eggert2004-08-091-13/+3
* Add extern "C" for C++.Bruno Haible2004-07-161-1/+14
* Remove dependency of xalloc.h on SIZE_MAX and PTRDIFF_MAX.Paul Eggert2003-11-131-13/+3
* Rely on SIZE_MAX and PTRDIFF_MAX as defined by ISO C 99.Bruno Haible2003-11-111-3/+7
* Fix off-by-one error in xalloc_oversized.Paul Eggert2003-11-101-5/+6
* Reject allocations of exactly SIZE_MAX bytes.Paul Eggert2003-11-061-2/+16
* Revamp xalloc_oversized so that its count arg need not fit into size_t.Paul Eggert2003-10-301-10/+5
* New function xalloc_oversized.Paul Eggert2003-10-271-0/+11
* Add x2realloc, x2nrealloc. Port to C99 inline.Paul Eggert2003-10-271-0/+2
* Revamp xalloc interface so that it can check for address arithmetic overflow.Paul Eggert2003-10-131-23/+15
* Sync with coreutils xalloc.h, xmalloc.c, xmemcoll.h, xmemcoll.c.Paul Eggert2003-07-221-11/+6
* Assume C89, so PARAMS isn't needed.Paul Eggert2003-06-181-15/+9
* .h files should stand alone, but we shouldn't include <sys/types.h>Paul Eggert2003-06-041-0/+2
* Add "2000" to Copyright line, as this file was changed this year.Jim Meyering2000-10-311-1/+1
* (xalloc_msg_memory_exhausted): Now char const[],Jim Meyering2000-08-071-3/+3
* back out Copyright date changes for files with no changes yearJim Meyering2000-08-071-1/+1
* update copyright dateJim Meyering2000-07-091-1/+1
* (XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/.Jim Meyering1999-11-091-4/+4
* (__attribute__): Define to empty if GCC claims toJim Meyering1999-10-041-1/+1
* (__attribute__): Protect against redefinition.Jim Meyering1999-09-281-2/+4
* small correction from AkimJim Meyering1999-09-261-2/+2
* (__attribute__): Define.Jim Meyering1999-09-261-2/+34
* (xalloc_fail_func): Use `PARAMS'.Jim Meyering1999-09-021-2/+3
* Add comments.Jim Meyering1999-01-011-11/+42
* Use PARAMS, not __P.Jim Meyering1997-12-211-5/+6
* .Jim Meyering1997-10-251-0/+20