From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: dll initialization 4 Nov 1998 23:26:46 -0800 Message-ID: References: <01BE081F DOT 77F584E0 AT sos> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Sergey Okhapkin Cc: "'cygwin32-developers AT cygnus DOT com'" 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 * 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