This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [rfc] asprintf() -> xasprintf()



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.


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