How to make child of failed fork exit cleanly?

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed May 4 22:17:00 GMT 2011


On Wed, 2011-05-04 at 15:58 -0400, Ryan Johnson wrote:
> Update: testing with an app that loads dlls dynamically gives access 
> violations while trying to unload statically-linked libraries (namely, 
> cyggcc_s, whose copied-over state includes invalid pointers to the dlls 
> dynamically-loaded-in-parent-but-not-child).

FWIW, I should note that Dave Korn's changes to GCC 4.5 and binutils
2.21 results in much fewer C libraries being statically-linked against
libgcc_s.  In fact, I wonder if the pre-change condition is causing any
of these problems, but I don't pretend to understand the internals of
binutils or GCC.


Yaakov




More information about the Cygwin-developers mailing list