From d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 25 Oct 2006 12:46:03 +0000 Subject: use skip_whitespace where appropriate --- shell/bbsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/bbsh.c') diff --git a/shell/bbsh.c b/shell/bbsh.c index 77e186d..791983a 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c @@ -119,7 +119,7 @@ static char *parse_pipeline(char *cmdline, struct pipeline *line) char *end; // Skip leading whitespace and detect end of line. - while (isspace(*start)) start++; + start = skip_whitespace(start); if (!*start || *start=='#') { if (ENABLE_BBSH_JOBCTL) line->cmdlinelen = start-cmdline; return 0; -- cgit v1.1