diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-30 00:29:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-30 00:29:55 +0000 |
commit | 4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b (patch) | |
tree | 7dfc507c1a7d14fb61d4fd0c68481e01b4a36ba1 /shell | |
parent | 4ef7d3a2de3df27dde80a64987202f10aebfe925 (diff) | |
download | busybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.gz busybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.bz2 busybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.zip |
whitespace fixes
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 8 | ||||
-rw-r--r-- | shell/msh.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/shell/hush.c b/shell/hush.c index 6844f06c2..7aad6e6e4 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -415,7 +415,7 @@ enum { run_list_level = 0 }; | |||
415 | #define shell_ver (G.shell_ver ) | 415 | #define shell_ver (G.shell_ver ) |
416 | #if ENABLE_FEATURE_SH_STANDALONE | 416 | #if ENABLE_FEATURE_SH_STANDALONE |
417 | #define nofork_save (G.nofork_save ) | 417 | #define nofork_save (G.nofork_save ) |
418 | #endif | 418 | #endif |
419 | #if ENABLE_HUSH_JOB | 419 | #if ENABLE_HUSH_JOB |
420 | #define toplevel_jb (G.toplevel_jb ) | 420 | #define toplevel_jb (G.toplevel_jb ) |
421 | #endif | 421 | #endif |
@@ -1876,7 +1876,7 @@ static int run_pipe_real(struct pipe *pi) | |||
1876 | return -1; | 1876 | return -1; |
1877 | } | 1877 | } |
1878 | 1878 | ||
1879 | #ifndef debug_print_tree | 1879 | #ifndef debug_print_tree |
1880 | static void debug_print_tree(struct pipe *pi, int lvl) | 1880 | static void debug_print_tree(struct pipe *pi, int lvl) |
1881 | { | 1881 | { |
1882 | static const char *PIPE[] = { | 1882 | static const char *PIPE[] = { |
@@ -1929,7 +1929,7 @@ static void debug_print_tree(struct pipe *pi, int lvl) | |||
1929 | if (argv) while (*argv) { | 1929 | if (argv) while (*argv) { |
1930 | fprintf(stderr, " '%s'", *argv); | 1930 | fprintf(stderr, " '%s'", *argv); |
1931 | argv++; | 1931 | argv++; |
1932 | } | 1932 | } |
1933 | fprintf(stderr, "\n"); | 1933 | fprintf(stderr, "\n"); |
1934 | prn++; | 1934 | prn++; |
1935 | } | 1935 | } |
@@ -2114,7 +2114,7 @@ static int run_list_real(struct pipe *pi) | |||
2114 | * try "{ { sleep 10; echo DEEP; } & echo HERE; } &". | 2114 | * try "{ { sleep 10; echo DEEP; } & echo HERE; } &". |
2115 | * I'm NOT treating inner &'s as jobs */ | 2115 | * I'm NOT treating inner &'s as jobs */ |
2116 | #if ENABLE_HUSH_JOB | 2116 | #if ENABLE_HUSH_JOB |
2117 | if (run_list_level == 1) | 2117 | if (run_list_level == 1) |
2118 | insert_bg_job(pi); | 2118 | insert_bg_job(pi); |
2119 | #endif | 2119 | #endif |
2120 | rcode = EXIT_SUCCESS; | 2120 | rcode = EXIT_SUCCESS; |
diff --git a/shell/msh.c b/shell/msh.c index ac49af14c..d81a00122 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -58,10 +58,10 @@ static char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) | |||
58 | for (i = 1000000000; i; i /= 10) { | 58 | for (i = 1000000000; i; i /= 10) { |
59 | res = n / i; | 59 | res = n / i; |
60 | if (res || out || i == 1) { | 60 | if (res || out || i == 1) { |
61 | if (!--buflen) break; | 61 | if (!--buflen) break; |
62 | out++; | 62 | out++; |
63 | n -= res*i; | 63 | n -= res*i; |
64 | *buf++ = '0' + res; | 64 | *buf++ = '0' + res; |
65 | } | 65 | } |
66 | } | 66 | } |
67 | } | 67 | } |