This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty, why aren't xcalloc/calloc provided? (PATCH to add 'em)
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: libiberty, why aren't xcalloc/calloc provided? (PATCH to add 'em)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 18 Nov 1998 11:12:51 -0700
- cc: egcs-patches at cygnus dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199811130305.WAA21983@caip.rutgers.edu>you write:
> Alright then here's a patch to add xcalloc, and a fallback
> calloc, to libiberty. Okay to install?
>
> --Kaveh
>
>
>
> Mon Nov 9 15:48:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * configure.in: Check for calloc.
>
> * calloc.c: New file.
>
> * xmalloc.c (xcalloc): New function.
Looks good to me.
Note I suspect it needs to be slightly updated CYGWIN32 -> CYGWIN.
Thanks!
jeff