aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xmalloc.c
AgeCommit message (Collapse)Author
2003-04-15argv.c: Use ANSI_PROTOTYPES instead of __STDC__.Roger Sayle
* argv.c: Use ANSI_PROTOTYPES instead of __STDC__. * memchr.c: Likewise. * strcasecmp.c: Likewise. * strncasecmp.c: Likewise. * strncmp.c: Likewise. * xatexit.c: Likewise. * xmalloc.c: Likewise. * copysign.c: Use traditional function declaration instead of DEFUN. * sigsetmask.c: Likewise. * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. * memset.c: Likewise. * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. * memmove.c: Likewise. From-SVN: r65619
2002-03-04* xmalloc.c (xmalloc_fail): Clarify error message further.Neil Booth
From-SVN: r50287
2002-03-03* xmalloc.c (xmalloc_fail): Clarify error message.Neil Booth
From-SVN: r50265
2001-10-07alloca.c, [...]: Improve manual formatting.Joseph Myers
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. From-SVN: r46068
2001-09-27libiberty.texi: (Top level): Add syncodeindex pg.Eli Zaretskii
* libiberty.texi: (Top level): Add syncodeindex pg. Add @dircategory and @direntry directives. Add @finalout. (many nodes): Lose the next,prev,up pointers on the @nide line. (Using, Supplemental Functions, Replacement Functions): Fix markup. (Functions): Move around, to allow makeinfo to build the manual without next,prev,up pointers in thye node lines. (Licenses): Fix typos. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. * functions.texi: Regenerate. * copying-lib.texi: Lose the next,prev,up pointers on the @node line. From-SVN: r45847
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie
* configure.in (MAKEINFO, PERL): Detect these. (--enable-maintainer-mode): Add. * configure: Regenerate. * Makefile.in (MAKEINFO, PERL): Define. (libiberty.info, libiberty.dvi, libiberty.html): New. (CFILES): Add bsearch.c. (CONFIGURED_OFILES): New, list of objects configure might add. (maint-missing, maint-buildall): New, for maintainers only. (clean, mostlyclean): Add info/dvi/html files. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. * gather-docs: New, for maintainers. * maint-tool: New, for maintainers. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update documentation. Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com> From-SVN: r45828
2000-11-22Makefile.in, [...]: Expunge remaining traces of facility for running MD ↵Zack Weinberg
files through C preprocessor. gcc: * Makefile.in, config.gcc, configure.in: Expunge remaining traces of facility for running MD files through C preprocessor. libiberty: * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three argument form of AC_DEFINE in dummy definitions block. Use AC_DEFINE_NOAUTOHEADER for real definitions of things defined in dummy block. Preload cache variables instead of bypassing tests, where possible. * acconfig.h: Removed. * xmalloc.c (xmalloc_failed): New function, does error reporting on failed allocation. (xmalloc, xcalloc, xrealloc): Use it. * libiberty.h: Move #includes to top. Prototype xmalloc_failed. From-SVN: r37650
2000-05-18* xmalloc.c: Include config.h for HAVE_SBRK definition.J. David Anglin
From-SVN: r34003
1999-10-03xmalloc.c (xmalloc): Fix spelling error.Mark Mitchell
* xmalloc.c (xmalloc): Fix spelling error. (xcalloc, xrealloc): Likewise. From-SVN: r29779
1999-04-15configure.in (checkfuncs): Check for sbrk.Mumit Khan
* configure.in (checkfuncs): Check for sbrk. * config.in: Rebuilt. * configure: Likewise. * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. From-SVN: r26480
1999-04-11pexecute.c: Change all references to __UWIN__ to _UWIN.Mumit Khan
* pexecute.c: Change all references to __UWIN__ to _UWIN. * xmalloc.c: Likewise. (xcalloc): UWIN has sbrk. (xrealloc): Fix guard macro. From-SVN: r26352
1999-03-10pexecute.c (__CYGWIN32__): Rename toMumit Khan
* pexecute.c (__CYGWIN32__): Rename to (__CYGWIN__): this. * xmalloc.c: Likewise. Changes to support i386-pc-uwin. * configure.in (*-*-uwin*): Workaround for vfork bug. * configure: Regenerate. * pexecute.c (pexecute): Be like standard Unix. (pwait): Likewise. * xmalloc.c (first_break): Define. (xmalloc_set_program_name): Use. (xmalloc): Use. From-SVN: r25694
1998-11-13configure.in: Check for calloc.Kaveh R. Ghazi
* configure.in: Check for calloc. * calloc.c: New file. * xmalloc.c (xcalloc): New function. From-SVN: r23642
1998-01-17Add mingw32 support.Mumit Khan
* pexecute.c (pexecute): New function for mingw32. Supports pipes. (pwait): New function for mingw32. * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32. * config/mt-mingw32: New file. * xmalloc.c (first_break): Not used for mingw32. (xmalloc_set_program_name): Don't use sbrk on mingw32. (xmalloc): Likewise. (xrealloc): Likewise. Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl> From-SVN: r17395
1997-08-21Initial revisionJason Merrill
From-SVN: r14877