This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Do not call xmalloc_failed in expandargv


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]