From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Ian Lance Taylor Cc: Thiemo Seufer , binutils@sources.redhat.com Subject: Re: [PATCH] Include alloca.h for bfd Date: Thu, 23 Aug 2001 11:42:00 -0000 Message-id: <3B854EA7.7020706@cygnus.com> References: <20010821210909.E30301@rembrandt.csv.ica.uni-stuttgart.de> <20010821234604.J30301@rembrandt.csv.ica.uni-stuttgart.de> <20010823174716.E3542@rembrandt.csv.ica.uni-stuttgart.de> <20010823180440.F5765@sunsite.ms.mff.cuni.cz> <20010823181513.F3542@rembrandt.csv.ica.uni-stuttgart.de> <3B8539CD.5060306@cygnus.com> X-SW-Source: 2001-08/msg00546.html > Hmm, shame you can't use asprintf(). It does everything you want >> except use bfd_malloc(). > > > Now that you mention it, we could use asprintf there. There is an > implementation in libiberty. If it can't allocate memory, it sets the > buffer to NULL. > > Doesn't matter much, though. Yes. Its the bit where bfd_malloc() sets the error message that is missing. Andrew