diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-25 12:46:03 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-25 12:46:03 +0000 |
commit | 656a38a371988abbeb559f89737f222dae1ebbd2 (patch) | |
tree | 5f3775e14e05880c7977402384756e6ca3102096 /shell | |
parent | 7488dd85691d795666d82ff00f803bbdd92e5f5d (diff) | |
download | busybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.tar.gz busybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.tar.bz2 busybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.zip |
use skip_whitespace where appropriate
git-svn-id: svn://busybox.net/trunk/busybox@16435 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r-- | shell/bbsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bbsh.c b/shell/bbsh.c index 77e186d35..791983a3a 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c | |||
@@ -119,7 +119,7 @@ static char *parse_pipeline(char *cmdline, struct pipeline *line) | |||
119 | char *end; | 119 | char *end; |
120 | 120 | ||
121 | // Skip leading whitespace and detect end of line. | 121 | // Skip leading whitespace and detect end of line. |
122 | while (isspace(*start)) start++; | 122 | start = skip_whitespace(start); |
123 | if (!*start || *start=='#') { | 123 | if (!*start || *start=='#') { |
124 | if (ENABLE_BBSH_JOBCTL) line->cmdlinelen = start-cmdline; | 124 | if (ENABLE_BBSH_JOBCTL) line->cmdlinelen = start-cmdline; |
125 | return 0; | 125 | return 0; |