This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Should malloc-related functions be weak?
- From: DJ Delorie <dj at redhat dot com>
- To: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 30 Jul 2016 21:40:51 -0400
- Subject: Re: Should malloc-related functions be weak?
- Authentication-results: sourceware.org; auth=none
- References: <87eg6cuwp7.fsf@totoro.br.ibm.com>
"Tulio Magno Quites Machado Filho" <tuliom@linux.vnet.ibm.com> writes:
> Shouldn't they be weak functions?
I can imagine the mess that would happen if someone overwrode malloc()
but not free()...