diff options
author | Denys Vlasenko | 2010-01-25 13:39:24 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-01-25 13:39:24 +0100 |
commit | 3581c625151d25d8e1cbc80c44337d398d97cf42 (patch) | |
tree | 86a1abc69a3606e6f595a18d72bd1eb48bc505b3 /shell | |
parent | 46685a46bbffc04d507ce756f4b703aae024debd (diff) | |
download | busybox-3581c625151d25d8e1cbc80c44337d398d97cf42.zip busybox-3581c625151d25d8e1cbc80c44337d398d97cf42.tar.gz |
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 9a9b5bb..e0c5626 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2037,7 +2037,7 @@ static const char *next_brace_sub(const char *cp) break; cp++; continue; - } + } /*{*/ if ((*cp == '}' && depth-- == 0) || (*cp == ',' && depth == 0)) break; if (*cp++ == '{') /*}*/ diff --git a/shell/hush_test/hush-misc/func4.tests b/shell/hush_test/hush-misc/func4.tests index 33b1663..74c1b9a 100755 --- a/shell/hush_test/hush-misc/func4.tests +++ b/shell/hush_test/hush-misc/func4.tests @@ -2,6 +2,6 @@ func() { eval "echo \"\${val_${1}}\"" } -val_x=24 +val_x=24 (func x) echo Done diff --git a/shell/msh_test/msh-execution/nested_break.tests b/shell/msh_test/msh-execution/nested_break.tests index f2e6f81..1a954d2 100755 --- a/shell/msh_test/msh-execution/nested_break.tests +++ b/shell/msh_test/msh-execution/nested_break.tests @@ -3,15 +3,15 @@ n=0 while : do - echo A - while : - do - echo B - break - done - echo iteration - [ $n = 1 ] && break + echo A + while : + do + echo B + break + done + echo iteration + [ $n = 1 ] && break echo C - n=`expr $n + 1` + n=`expr $n + 1` done echo D |