* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.
This commit is contained in:
parent
eb285e115c
commit
56057f0394
|
@ -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>
|
2006-05-28 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* sigproc.cc (child_info::proc_retry): Mask all of the bits we're
|
* sigproc.cc (child_info::proc_retry): Mask all of the bits we're
|
||||||
|
|
|
@ -13,9 +13,9 @@ details. */
|
||||||
bigger than this value, the stack position is suddenly moved up by 64K for
|
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
|
no apparent reason, which results in subsequent forks failing. Since Cygwin
|
||||||
processes get the full command line as argv array anyway, this only affects
|
processes get the full command line as argv array anyway, this only affects
|
||||||
the maximum command line length of Cygwin applications which non-sensically
|
the maximum command line length of Cygwin applications which nonsensically
|
||||||
have a WinMain instead of a main entry point. */
|
have a WinMain instead of a main entry point or which use GetCommandLine. */
|
||||||
#define MAXCYGWINCMDLEN 31767
|
#define MAXCYGWINCMDLEN 30000
|
||||||
|
|
||||||
#define MAXWINCMDLEN 32767
|
#define MAXWINCMDLEN 32767
|
||||||
#define LINE_BUF_CHUNK (CYG_MAX_PATH * 2)
|
#define LINE_BUF_CHUNK (CYG_MAX_PATH * 2)
|
||||||
|
|
Loading…
Reference in New Issue