delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/26/14:25:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Steve Jorgensen <steve AT khoral DOT com>
Date: Tue, 26 Oct 1999 12:24:35 -0600 (MDT)
Message-Id: <199910261824.MAA09264@benson>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Wierd perl problem..

> Ok.  I've just checked in changes that work around the problem "for me".
> They should be in the next snapshot.

> The problem was that a DLL in a forked child was not being loaded in
> exactly the same location as it was in the parent.  So, when the parent
> tried to copy its memory to the child -- boom!

> I kludged around this by allocating memory up to the point where the
> DLL should be loaded.  This is remarkably fragile and stupid but it
> seems to work.

> The DLL code looks like it is due for a rewrite.  Maybe we'll have time
> to do that someday.

> So, if you're adventurous, try out the latest snapshot and see if dynamic
> loading in perl just miraculously "works" now.

	I'll play with it.  Thanks.

				Steve

-----------------------------------------------------------
Steven Jorgensen      steve AT khoral DOT com	    steve AT haunt DOT com
------------------------------+----------------------------
Khoral Research Inc.          | PHONE: (505) 837-6500
6200 Uptown Blvd, Suite 200   | FAX:   (505) 881-3842
Albuquerque, NM 87110         | URL: http://www.khoral.com/
-----------------------------------------------------------

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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