--enable-malloc-debugging option to configure

egor duda deo@logos-m.ru
Wed Apr 18 13:31:00 GMT 2001


Hi!

  here's the patch to make building cygwin1.dll with MALLOC_DEBUG as
easy as supplying '--enable-malloc-debugging' option to configure.
it also requires a small tweak to newlib. If everything's ok with the
patch I'll send newlib's part to newlib mailing list.

dlmalloc.tar.gz is a tweaked version of dlmalloc Chris posted in
http://sources.redhat.com/ml/cygwin-developers/2001-03/msg00129.html

egor.            mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
dlmalloc.tar.gz
malloc-debugging-newlib.ChangeLog
malloc-debugging-newlib.diff
malloc-debugging-winsup.ChangeLog
malloc-debugging-winsup.diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlmalloc.tar.gz
Type: application/x-gzip
Size: 35369 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010418/860c7094/attachment.bin>
-------------- next part --------------
2001-04-18  Egor Duda  <deo@logos-m.ru>

	* acinclude.m4: Don't provide malloc if building for cygwin and
	internal debugging malloc is requested.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: malloc-debugging-newlib.diff
Type: text/x-diff
Size: 599 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010418/860c7094/attachment-0001.bin>
-------------- next part --------------
2001-04-18  Egor Duda  <deo@logos-m.ru>

	* dlmalloc.c: New file. Port of Doug Lea's malloc
	* dlmalloc.h: Ditto.
	* Makefile.in: Add support for MALLOC_DEBUG
	* config.h.in: Ditto.
	* winsup.h: Ditto.
	* configure.in: Add --enable-malloc-debugging option.
	* configure: Regenerate.
	* debug.h: Include declarations for debugging malloc.
	* tty.cc (grantpt): Fix definition.
	(unlockpt): Ditto.
	* include/sys/socket.h: Fix path to features.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: malloc-debugging-winsup.diff
Type: text/x-diff
Size: 3935 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010418/860c7094/attachment-0002.bin>


More information about the Cygwin-patches mailing list