This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cfree from newlib is linked instead of "cygheap" cfree


On Wed, Sep 06, 2000 at 09:32:00PM +0400, Egor Duda wrote:
>class child_info uses cfree in it's destructor, assuming this will be
>cfree for cygheap.  Nevertheless, in spawn.cc compiler uses cfree from
>newlib, when ciresrv variable in spawn_guts get freed.  this,
>obviously, causes crash.  how about this patch?

This was actually solvable by reorganizing the headers.  I've done that
plus making sure that most of the newlib headers define the exported
functions correctly plus ensuring that cfree is not built plus ensuring
that the non-cygwin version of the cfree function is not used.

Thanks for the heads up.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]