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: Odd behaviour of __cygwin_environ?


On Dec  5 15:00, Dave Korn wrote:
> On 05 December 2007 12:31, Corinna Vinschen wrote:
> > Keep in mind that the size of the
> > native environment block is restricted to 32K.
> 
>   I thought when cygexec was in effect the posix environment and commandline
> were passed around-behind-the-back-of CreateProcess, bypassing that limit?  Or
> does it only handle the commandline but not environment?

It also handles the environment block.  Is there a native process in the
call chain, maybe?  If not, I don't see any other chance than to debug
this further.  spawn_guts() and the build_env() functions might be good
starting points for that.


Corinna

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

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


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