This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Robert Collins wrote:
-----Original Message-----It goes against the way fork works.
From: cygwin-apps-owner@cygwin.com [mailto:cygwin-apps-owner@cygwin.com] On Behalf Of Nicholas Wourms
Sent: Wednesday, 17 July 2002 10:09 PM
To: Jason Tishler
Cc: cygwin-apps@cygwin.com
Subject: Re: rebase problem for cygcurl-2.dll still existing?!
Jason Tishler wrote:
Is that a deficiency of cygwin as a whole, or just related
to the wayCygwin's fork() attempts to load DLLs in the child in themy DLL was built?)
same locationOther than the lack of someone writing the code, is there any reason why fork() can't automagically try another location? Is this even possible? Or does it go against the way Cygwin/Windows works?as in the parent. If it fails, then the child aborts.
Take a pointer foo with value bar. After fork, *foo must equal *foo
before the fork. If bar points into a dll, and the dll is mapped
somewhere else, then after fork *foo != *foo before the fork.
Thank you, Rob. That clears things up for me. :-) Cheers, Nicholas
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |