=DEann 26-Mar-98 skrifar Ian Leonard:
>=20
> Indeed. Calls to malloc () are a similar source of trouble. If malloc()=
is=20
> being used, a malloc debugger can be of great help. There are a few aro=
und.
> I think there's a Gnu one and one called ElectricFence (I think). I use
> one I have had for years called dbmalloc.
>=20
The GNU library has builtin malloc() check routines, and they also have
hooks that can be used to create your own. These are called...
__free_hook
__malloc_hook
__realloc_hook
And are defined in <malloc.h>
-------------------------------------------------------------------------=
--- Orn Einar Hansen oe.hansen@oehansen.pp.se oehansen@daimi.aau.dk voice+fax; +46 035 217194 _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/