This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] asprintf() -> xasprintf()
- To: Michael Snyder <msnyder at redhat dot com>
- Subject: Re: [rfc] asprintf() -> xasprintf()
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 14 Nov 2000 18:13:18 +0000
- Cc: Fernando Nasser <fnasser at cygnus dot com>, "Frank Ch. Eigler" <fche at redhat dot com>, Andrew Cagney <ac131313 at cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
msnyder@redhat.com said:
> Not even all ANSI free impls?
An ANSI implementation of free is required to have that behaviour. But
just because you have written your source code with reference to the
standard, doesn't mean the vendor of your system C library has. Gcc
doesn't replace libc.so on your system, so you have to assume that it may
have a non-compliant implementation.
R.