diff --git a/historic/jam/src/execnt.c b/historic/jam/src/execnt.c index a7e65da43..41dd1dab4 100644 --- a/historic/jam/src/execnt.c +++ b/historic/jam/src/execnt.c @@ -238,7 +238,7 @@ void execcmd( } /* Trim leading, -ending- white space */ - while( isspace( *command ) ) + while( *(command+1) && isspace( *command ) ) ++command; /* Write to .BAT file unless the line would be too long and it