summaryrefslogtreecommitdiff
path: root/libiberty/xmemdup.c
AgeCommit message (Collapse)Author
2016-05-31Don't needlessly clear xmemdup allocated memory.Alan Modra
* xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.
2011-02-03libiberty: documentation markup and order fixes.Ralf Wildenhues
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
2005-03-28merge from gccDJ Delorie
2005-03-25merge from gccDJ Delorie
2001-09-26merge from gccDJ Delorie
2000-05-29 * hashtab.c, partition.c, xmemdup.c: Include string.hZack Weinberg
if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. * sort.c: Bring over from GCC.
2000-02-22import libiberty from egcsIan Lance Taylor