diff options
author | Christopher Faylor <me@cgf.cx> | 2006-05-29 15:51:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-05-29 15:51:18 +0000 |
commit | 56057f03943946440499e70e00f5ec2274e08517 (patch) | |
tree | 18e1e717cf0f4f5caf5f4937aabe889a68b75d45 /winsup/cygwin/winf.h | |
parent | eb285e115c40cdb3c7d74a68379f05137559934c (diff) | |
download | cygnal-56057f03943946440499e70e00f5ec2274e08517.tar.gz cygnal-56057f03943946440499e70e00f5ec2274e08517.tar.bz2 cygnal-56057f03943946440499e70e00f5ec2274e08517.zip |
* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.
Diffstat (limited to 'winsup/cygwin/winf.h')
-rw-r--r-- | winsup/cygwin/winf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/winf.h b/winsup/cygwin/winf.h index 209091468..16dde7063 100644 --- a/winsup/cygwin/winf.h +++ b/winsup/cygwin/winf.h @@ -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) |