Mail Archives: cygwin-developers/1998/10/28/18:15:17

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: DLL init patch for loading cygwin DLL from MSVC app
28 Oct 1998 18:15:17 -0800 :
Message-ID: <>
References: <9810290044 DOT AA29361 AT modi DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>
Cc: cygwin32-developers AT cygnus DOT com, Geoffrey Noer <noer AT cygnus DOT com>

On Wed, Oct 28, 1998 at 06:44:25PM -0600, Mumit Khan wrote:
> Here's a tentative, and most certainly not completely correct, patch for
> initializing Cygwin guts when a Cygnus DLL is loaded for the first time
> from a *non-cygwin* application.
> I can now load cygwin DLLs from MSVC/Mingw apps as well as build working 
> Java JNI. But of course that doesn't mean that this patch is correct.
> I would very much appreciate it if folks could take a look and see if this
> missing anything (or if it's just completely wrong!).

Scanning it quickly, it looks pretty good to me, but I want to take a
much closer look.  In terms of including anything more in b20, it's
getting awfully late but this particular patch does look safe in that
the downside is small since the new code only gets invoked in a
situation which never should occur for Cygwin apps using a Cygwin DLL.
So I will try to include it in B20 unless problems with it are brought
to my attention soon.

Also, please note that I'm expecting to be making regular updates to
B20 following the initial release so we can always fix this behavior
(and other remaining Cygwin bugs) later if need be...

Finally, I did get your assignment via fax.  I'm assuming you've
already sent off the actual signed hard copy?


Geoffrey Noer
noer AT cygnus DOT com

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019