* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.

This commit is contained in:
Christopher Faylor 2006-05-29 15:51:18 +00:00
parent eb285e115c
commit 56057f0394
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-05-29 Christopher Faylor <cgf@timesys.com>
* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork
errors.
2006-05-28 Christopher Faylor <cgf@timesys.com>
* sigproc.cc (child_info::proc_retry): Mask all of the bits we're

View File

@ -13,9 +13,9 @@ details. */
bigger than this value, the stack position is suddenly moved up by 64K for
no apparent reason, which results in subsequent forks failing. Since Cygwin
processes get the full command line as argv array anyway, this only affects
the maximum command line length of Cygwin applications which non-sensically
have a WinMain instead of a main entry point. */
#define MAXCYGWINCMDLEN 31767
the maximum command line length of Cygwin applications which nonsensically
have a WinMain instead of a main entry point or which use GetCommandLine. */
#define MAXCYGWINCMDLEN 30000
#define MAXWINCMDLEN 32767
#define LINE_BUF_CHUNK (CYG_MAX_PATH * 2)