PATCH: Do not call xmalloc_failed in expandargv

Mark Mitchell mark@codesourcery.com
Tue Sep 27 15:22:00 GMT 2005


Ian Lance Taylor wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
> 
> 
>>! 	    {
>>! 	      fprintf (stderr, "\n%sout of memory\n");
>>! 	      xexit (1);
>>! 	    }
> 
> 
> You need an argument to fprintf there, although I don't know just what
> it would be.  Or just call fputs.

Doh.  I changed that to use fputs, and checked it in.

Thanks!

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gdb-patches mailing list