This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/malloc mcheck.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 14 Nov 2002 03:59:29 -0000
- Subject: libc/malloc mcheck.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.org 2002-11-13 19:59:29
Modified files:
malloc : mcheck.c
Log message:
2002-11-13 Roland McGrath <roland@redhat.com>
* malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
(mallochook, reallochook): Set them up.
(checkhdr): Check HDR->magic2 value.
(freehook): Reset HDR->magic2.
(memalignhook): New static function.
(old_memalign_hook): New static variable.
(mcheck, reallochook): Set __memalign_hook to memalignhook.