diff --git a/src/engine/execnt.c b/src/engine/execnt.c index 6e255f5b0..ac8258107 100644 --- a/src/engine/execnt.c +++ b/src/engine/execnt.c @@ -719,7 +719,8 @@ long can_spawn( char const * command ) char inquote = 0; /* Move to the first non-whitespace. */ - command += strspn( command, " \t" ); + while ( isspace( *command ) ) + ++command; p = command;