mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Fixed a Boost Jam bug on Windows where it would incorrectly interpret shell I/O redirection characters <>| and quote characters "' when deciding whether a command can be executed without an external shell if the first non-whitespace character in the command is a quote character (either single or double).
[SVN r79091]
This commit is contained in:
@@ -651,7 +651,7 @@ static long raw_command_length( char const * command )
|
||||
|
||||
case '"':
|
||||
case '\'':
|
||||
if ( ( p > command ) && ( p[ -1 ] != '\\' ) )
|
||||
if ( ( p == command ) || ( p[ -1 ] != '\\' ) )
|
||||
{
|
||||
if ( inquote == *p )
|
||||
inquote = 0;
|
||||
|
||||
Reference in New Issue
Block a user