mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-02 04:55:35 +08:00
* 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>
|
||||
|
||||
* 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
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user