public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Resource Temporarily Unavailble (Message Too Long) Solved
@ 2006-09-12 17:28 Chris McIntosh
  0 siblings, 0 replies; only message in thread
From: Chris McIntosh @ 2006-09-12 17:28 UTC (permalink / raw)
  To: cygwin

First before I get your hopes up. Cygwin maps many errors to EAGAIN
which is outputed as Resource Temporarily Unavailable.

The one I am referring to is win error 234 (ERROR_MORE_DATA)  that
Christopher Faylor recently changed to report error "Message Too
Long".

The root cause was that our environment block was greater than 32K
characters. Some script in our build flow was defining 29000
characters worth of environment variables which made us hit the
Windows ANSI string limit.

Microsoft recommended that we use the unicode CreateProcess and
specify CREATE_UNICIODE_ENVIRONMENT flag, this would allow cygwin not
to hit this 32K limit.

Thought I would put it to the list, to see if anyone has investigated
this, or has any reasons as to why we shouldn't do this.

Thanks,
Chris McIntosh

--
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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-12 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-12 17:28 Resource Temporarily Unavailble (Message Too Long) Solved Chris McIntosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).