This is the mail archive of the cygwin-developers 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]
Other format: [Raw text]

Re: [RFC] Cygwin libstdc++ plan (operator new/delete replacement)

Christopher Faylor wrote:

> Why isn't this handled by change #1.362 to  

  It is!  I was using -61 instead of the snapshot.

> That should always
> set cxx_malloc unconditionally (which, now that I think of it, might not
> always be what you want either).

  Yeh, I'd like to replace these hacks with something that copies back the
updated entries if it finds the malloc stuct pointer has been redirected, and
then resets the pointer if it has been either nulled or redirected.  Also
remove the hack in cygwin_external; when the pointer is wrong, we should
correct it as soon as we practically can, when the code in the crt returns
from _cygwin_crt0_common to cygwin_attach_dll or cygwin_crt0 and those hand
off to dll_dllcrt0/_dll_crt0 respectively.

  (Right now however head isn't working for me at all, for what I think must
be unrelated reasons, given that the snapshot works but clean head doesn't.
I've been up all night though so I could just be doing something wrong because
I'm tired; I'll have another go after a few hours sleep.)


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