This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] asprintf() -> xasprintf()
- To: rearnsha at arm dot com
- Subject: Re: [rfc] asprintf() -> xasprintf()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 15 Nov 2000 09:52:31 +1100
- Cc: Fernando Nasser <fnasser at cygnus dot com>,GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <200011141623.QAA28807@cam-mail2.cambridge.arm.com>
Richard Earnshaw wrote:
>
> > Well, we did move GDB to ANSI, but I don't fell comfortable just assuming that
> > all free() implementations are already compliant.
>
> You might have moved the source code you write to ANSI, but I bet you
> didn't move the system libraries. You've really moved to freestanding
> ANSI.
That is correct. An ANSI compiler is assumed. Neither ANSI nor POSIX
libraries can be assumed.
Andrew