summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-25 12:46:03 +0000
committerDenis Vlasenko2006-10-25 12:46:03 +0000
commitd18a3a20dbafc4023b1c636b4e9b4bb80902c1e8 (patch)
tree5f3775e14e05880c7977402384756e6ca3102096 /shell
parentc8400a216206a848f6c4b83b668df37f6fb546ee (diff)
downloadbusybox-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.zip
busybox-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.tar.gz
use skip_whitespace where appropriate
Diffstat (limited to 'shell')
-rw-r--r--shell/bbsh.c2
1 files changed, 1 insertions, 1 deletions
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;