[Date Prev][Date Next]
Re: CSRI malloc support?
CSRI malloc replacement package written by Mark Moraes
while at Computer Science Research Institute, University
of Toronto. The package provides support for detecting
a number of different programming errors including "leak"
detection. It hasn't been updated since 1995.
It's available at: ftp://ftp.cs.toronto.edu/pub/moraes/
Note, the OpenLDAP support for CSRI malloc is designed
to used with the FreeBSD "libmalloc" port/package. This
port installs the CSRI malloc as <libmalloc.h>/-lmalloc_d
under --prefix=/usr/local. Your mileage may vary, edit
<ac/stdlib.h> as needed.
There is no configure support for CSRI malloc, you enable
it's use manually:
env CPPFLAGS="-DHAVE_CSRIMALLOC -I/usr/local/include" \
LDFLAGS="-L/usr/local/lib" LIBS="-lmalloc_d" ./configure