This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Do not call xmalloc_failed in expandargv
- From: Ian Lance Taylor <ian at airs dot com>
- To: mark at codesourcery dot com
- Cc: gdb at sources dot redhat dot com, gdb-patches at sources dot redhat dot com, dj at redhat dot com
- Date: 27 Sep 2005 08:17:10 -0700
- Subject: Re: PATCH: Do not call xmalloc_failed in expandargv
- References: <200509271451.j8REpKeg029702@sethra.codesourcery.com>
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.
Either change is approved.
Ian