Mail Archives: cygwin-developers/1998/11/04/23:26:46
Hi Sergey,
Could you also apply this patch and see if it helps. This is necessary
when non-cygwin apps load cygwin DLLs and use certain runtime routines
(eg., getenv()).
Sat Oct 31 03:14:54 1998 Mumit Khan <khan AT xraylith DOT wisc DOT edu>
* dll_init.cc (dll_dllcrt0_1): Initialize process table entry.
--- ../../cdk-b20/b20-final/src/winsup/dll_init.cc Thu Oct 29 17:30:08 1998
+++ dll_init.cc Fri Oct 30 12:59:33 1998
@@ -445,6 +443,8 @@ dll_dllcrt0_1 (per_process *uptr)
shared_init. */
init_exceptions (&cygwin_except_entry);
+ pinfo_init (NULL); /* Initialize our process table entry. */
+
/* Nasty static stuff needed by newlib - initialize it.
Note that impure_ptr has already been set up to point to this above
NB. This *MUST* be done here, just after the forkee code as some
Regards,
Mumit
- Raw text -