Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-29 19:51:18 +0400
committerChristopher Faylor <me@cgf.cx>2006-05-29 19:51:18 +0400
commit56057f03943946440499e70e00f5ec2274e08517 (patch)
tree18e1e717cf0f4f5caf5f4937aabe889a68b75d45 /winsup/cygwin/winf.h
parenteb285e115c40cdb3c7d74a68379f05137559934c (diff)
* 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.h6
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)