This is the mail archive of the cygwin 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]

Re: Fork issues with long command lines and long $PATH


On Mar 11 04:33, Daniel Colascione wrote:
> On 2/17/11 2:27 AM, Corinna Vinschen wrote:
> > There's no way
> > to start a process and tell the Windows loader where you want the stack.
> 
> True, but there's also no requirement to use the stack provided by the
> loader.  Why not always allocate a separate stack and switch to it early
> in initialization?

That might even work, but this, too, may be spoiled by the Windows
loader if it loads another DLL prior to cygwin.dll, and that other
DLL happens to use the stack area allocated by Cygwin in the parent
process.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]