|
Boost-Build : |
From: Mark Sheppard (msheppard_at_[hidden])
Date: 2003-11-11 10:36:07
There seems to be a limit of 32K on the length of command lines executable
by Windows XP (and probably other version of Windows) with the spawnvp()
function. This limit can be exceeded with large "clean" commands when
you're using a JAMSHELL of "%" (and using Cygwin's "rm" rather than "cmd /C
del").
The attached patch introduces a command length limit when using a JAMSHELL
of "%". This is defined by MAX_RAW_LINE - on Windows it's set to 32767, on
all other platforms it's set to 0 (no limit). This doesn't affect MAXLINE
which is used when JAMSHELL isn't "%".
Mark.
------_=_NextPart_000_01C3A869.86773E60 Content-Type: application/octet-stream;
name="06-max-raw-line.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="06-max-raw-line.patch"
[Attachment content not displayed.] ------_=_NextPart_000_01C3A869.86773E60--
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk