This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: malloc() indirection
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Kurt A. Stephens'" <stephensk at acm dot org>
- Subject: RE: malloc() indirection
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Fri, 10 Jul 1998 23:01:39 +0400
Kurt A. Stephens wrote:
> I'd like to propose a change to the cygwin32.dll.
> The goal is to allow user defined functions for malloc(), realloc(), and
> free() can be used
> instead of the standard allocator.
>
If you link an application with your own malloc functions, cygwinb19.dll
will forget about internal functions and will call your ones. You have to
provide 4 functions - malloc, free, realloc and calloc. For example,
cygwin-compiled Xemacs doesn't use cygwin's malloc, but provides its own
malloc.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".