aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
commite4dcba1c103dc28e927e004791e331aaf604383d (patch)
treea18094ecc54fcea2cb523a802e0c414c3e6f85bf /shell
parent776509544123c68bbc128c0fdb2f699062d294cf (diff)
downloadbusybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.zip
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/hush.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index fbf3efce2..5ef7efbdb 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7623,7 +7623,7 @@ hashcd(void)
7623 for (cmdp = *pp; cmdp; cmdp = cmdp->next) { 7623 for (cmdp = *pp; cmdp; cmdp = cmdp->next) {
7624 if (cmdp->cmdtype == CMDNORMAL 7624 if (cmdp->cmdtype == CMDNORMAL
7625 || (cmdp->cmdtype == CMDBUILTIN 7625 || (cmdp->cmdtype == CMDBUILTIN
7626 && !IS_BUILTIN_REGULAR(cmdp->param.cmd) 7626 && !IS_BUILTIN_REGULAR(cmdp->param.cmd)
7627 && builtinloc > 0) 7627 && builtinloc > 0)
7628 ) { 7628 ) {
7629 cmdp->rehash = 1; 7629 cmdp->rehash = 1;
@@ -12325,7 +12325,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path)
12325 } 12325 }
12326 if ((act & DO_NOFUNC) 12326 if ((act & DO_NOFUNC)
12327 || !prefix(pathopt, "func") 12327 || !prefix(pathopt, "func")
12328 ) { /* ignore unimplemented options */ 12328 ) { /* ignore unimplemented options */
12329 continue; 12329 continue;
12330 } 12330 }
12331 } 12331 }
diff --git a/shell/hush.c b/shell/hush.c
index 75083dc2e..9dd30c436 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2765,7 +2765,7 @@ static const struct reserved_combo* match_reserved_word(o_string *word)
2765 }; 2765 };
2766 const struct reserved_combo *r; 2766 const struct reserved_combo *r;
2767 2767
2768 for (r = reserved_list; r < reserved_list + ARRAY_SIZE(reserved_list); r++) { 2768 for (r = reserved_list; r < reserved_list + ARRAY_SIZE(reserved_list); r++) {
2769 if (strcmp(word->data, r->literal) == 0) 2769 if (strcmp(word->data, r->literal) == 0)
2770 return r; 2770 return r;
2771 } 2771 }
@@ -4660,7 +4660,7 @@ static NOINLINE const char *expand_one_var(char **to_be_freed_pp, char *arg, cha
4660 char *exp_exp_word; 4660 char *exp_exp_word;
4661 char *loc; 4661 char *loc;
4662 unsigned scan_flags = pick_scan(exp_op, *exp_word); 4662 unsigned scan_flags = pick_scan(exp_op, *exp_word);
4663 if (exp_op == *exp_word) /* ## or %% */ 4663 if (exp_op == *exp_word) /* ## or %% */
4664 exp_word++; 4664 exp_word++;
4665 exp_exp_word = encode_then_expand_string(exp_word, /*process_bkslash:*/ 1, /*unbackslash:*/ 1); 4665 exp_exp_word = encode_then_expand_string(exp_word, /*process_bkslash:*/ 1, /*unbackslash:*/ 1);
4666 if (exp_exp_word) 4666 if (exp_exp_word)