Mail Archives: cygwin-developers/1998/11/04/15:55:34
Hi!
Wed Oct 28 17:57:53 1998 Geoffrey Noer <noer AT cygnus DOT com>
patch from Mumit Khan <khan AT xraylith DOT wisc DOT edu>:
* dll_init.cc (exceptions.h): Include.
(dll_dllcrt0_1): New function to initialize Cygwin DLL guts
properly when a non-Cygwin app uses the Cygwin DLL.
(dll_dllcrt0): Call dll_dllcrt0_1 when user_data is NULL.
Most X11 applications fails to run with this patch... If the application is
linked with cygwin-compiled dlls, DllMain function of these dlls is called
_before_ user_data is initialized by cygwin1.dll! This case the
initialization of cygwin1.dll performed twice with unpredictable results. I
had to remove this patch to run xterm, rxvt and Xemacs.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Piscataway, NJ
- Raw text -