diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-25 13:39:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-25 13:39:24 +0100 |
commit | 3581c625151d25d8e1cbc80c44337d398d97cf42 (patch) | |
tree | 86a1abc69a3606e6f595a18d72bd1eb48bc505b3 /shell | |
parent | 46685a46bbffc04d507ce756f4b703aae024debd (diff) | |
download | busybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.gz busybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.bz2 busybox-w32-3581c625151d25d8e1cbc80c44337d398d97cf42.zip |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/func4.tests | 2 | ||||
-rwxr-xr-x | shell/msh_test/msh-execution/nested_break.tests | 18 |
3 files changed, 11 insertions, 11 deletions
diff --git a/shell/hush.c b/shell/hush.c index 9a9b5bb91..e0c562621 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2037,7 +2037,7 @@ static const char *next_brace_sub(const char *cp) | |||
2037 | break; | 2037 | break; |
2038 | cp++; | 2038 | cp++; |
2039 | continue; | 2039 | continue; |
2040 | } | 2040 | } |
2041 | /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0)) | 2041 | /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0)) |
2042 | break; | 2042 | break; |
2043 | if (*cp++ == '{') /*}*/ | 2043 | if (*cp++ == '{') /*}*/ |
diff --git a/shell/hush_test/hush-misc/func4.tests b/shell/hush_test/hush-misc/func4.tests index 33b1663f3..74c1b9a46 100755 --- a/shell/hush_test/hush-misc/func4.tests +++ b/shell/hush_test/hush-misc/func4.tests | |||
@@ -2,6 +2,6 @@ func() { | |||
2 | eval "echo \"\${val_${1}}\"" | 2 | eval "echo \"\${val_${1}}\"" |
3 | } | 3 | } |
4 | 4 | ||
5 | val_x=24 | 5 | val_x=24 |
6 | (func x) | 6 | (func x) |
7 | echo Done | 7 | echo Done |
diff --git a/shell/msh_test/msh-execution/nested_break.tests b/shell/msh_test/msh-execution/nested_break.tests index f2e6f81ae..1a954d227 100755 --- a/shell/msh_test/msh-execution/nested_break.tests +++ b/shell/msh_test/msh-execution/nested_break.tests | |||
@@ -3,15 +3,15 @@ | |||
3 | n=0 | 3 | n=0 |
4 | while : | 4 | while : |
5 | do | 5 | do |
6 | echo A | 6 | echo A |
7 | while : | 7 | while : |
8 | do | 8 | do |
9 | echo B | 9 | echo B |
10 | break | 10 | break |
11 | done | 11 | done |
12 | echo iteration | 12 | echo iteration |
13 | [ $n = 1 ] && break | 13 | [ $n = 1 ] && break |
14 | echo C | 14 | echo C |
15 | n=`expr $n + 1` | 15 | n=`expr $n + 1` |
16 | done | 16 | done |
17 | echo D | 17 | echo D |