_impure_ptr uninitialized in DLLs?

Chris Faylor cgf@cygnus.com
Wed Jul 5 16:47:00 GMT 2000

On Wed, Jul 05, 2000 at 02:05:42PM -0400, Chris Faylor wrote:
>On Wed, Jul 05, 2000 at 12:50:29PM +0100, Fifer, Eric wrote:
>>Starting with the Jul-01 snapshot, something changed with the handling
>>of _impure_ptr so that within a newly compiled DLL its value is NULL.
>>Previously compiled DLLs continue to work.  Presumably this is related
>>to the restructuring of user_data.
>>I'll try to hunt down the problem, but thought I should report it in
>>the meantime.
>I see the problem.  I don't know how to solve it yet but I'm
>working on it.
>I'm glad that you found this.  If we'd released a version of the Cygwin
>DLL with this problem there would have been hell-to-pay.

I've checked in a fix for this.  It was pretty tricky.  Let's see if I
actually got it right.


More information about the Cygwin-developers mailing list