]> sourceware.org Git - newlib-cygwin.git/commitdiff
* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.
authorChristopher Faylor <me@cgf.cx>
Mon, 29 May 2006 15:51:18 +0000 (15:51 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 29 May 2006 15:51:18 +0000 (15:51 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/winf.h

index eeab04530902886b25b4b73bd462ae30e094cdc9..34b4ff39e8334a4c68cbf559166e774b0fc6caa6 100644 (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
index 209091468c81f89418695b2741a92e9428438cb0..16dde7063e212a7894419898e5caaa9817747f52 100644 (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)
This page took 0.034745 seconds and 5 git commands to generate.