Boost logo

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

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 "%".


 ------_=_NextPart_000_01C3A869.86773E60 Content-Type: application/octet-stream;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;

[Attachment content not displayed.] ------_=_NextPart_000_01C3A869.86773E60--

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at