diff options
author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
---|---|---|
committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /shell/hush.c | |
parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip |
just whitespace
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/shell/hush.c b/shell/hush.c index 70533a2b0..ff29974b6 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1581,7 +1581,7 @@ static int run_list_real(struct pipe *pi) | |||
1581 | if (rmode == RES_IN) continue; | 1581 | if (rmode == RES_IN) continue; |
1582 | if (rmode == RES_DO) { | 1582 | if (rmode == RES_DO) { |
1583 | if (!flag_rep) continue; | 1583 | if (!flag_rep) continue; |
1584 | } | 1584 | } |
1585 | if ((rmode == RES_DONE)) { | 1585 | if ((rmode == RES_DONE)) { |
1586 | if (flag_rep) { | 1586 | if (flag_rep) { |
1587 | flag_restore = 1; | 1587 | flag_restore = 1; |
@@ -1782,17 +1782,17 @@ static int xglob(o_string *dest, int flags, glob_t *pglob) | |||
1782 | { | 1782 | { |
1783 | int gr; | 1783 | int gr; |
1784 | 1784 | ||
1785 | /* short-circuit for null word */ | 1785 | /* short-circuit for null word */ |
1786 | /* we can code this better when the debug_printf's are gone */ | 1786 | /* we can code this better when the debug_printf's are gone */ |
1787 | if (dest->length == 0) { | 1787 | if (dest->length == 0) { |
1788 | if (dest->nonnull) { | 1788 | if (dest->nonnull) { |
1789 | /* bash man page calls this an "explicit" null */ | 1789 | /* bash man page calls this an "explicit" null */ |
1790 | gr = globhack(dest->data, flags, pglob); | 1790 | gr = globhack(dest->data, flags, pglob); |
1791 | debug_printf("globhack returned %d\n",gr); | 1791 | debug_printf("globhack returned %d\n",gr); |
1792 | } else { | 1792 | } else { |
1793 | return 0; | 1793 | return 0; |
1794 | } | 1794 | } |
1795 | } else if (glob_needed(dest->data)) { | 1795 | } else if (glob_needed(dest->data)) { |
1796 | gr = glob(dest->data, flags, NULL, pglob); | 1796 | gr = glob(dest->data, flags, NULL, pglob); |
1797 | debug_printf("glob returned %d\n",gr); | 1797 | debug_printf("glob returned %d\n",gr); |
1798 | if (gr == GLOB_NOMATCH) { | 1798 | if (gr == GLOB_NOMATCH) { |
@@ -2111,7 +2111,7 @@ static int done_word(o_string *dest, struct p_context *ctx) | |||
2111 | if (reserved_word(dest,ctx)) return ctx->w==RES_SNTX; | 2111 | if (reserved_word(dest,ctx)) return ctx->w==RES_SNTX; |
2112 | } | 2112 | } |
2113 | glob_target = &child->glob_result; | 2113 | glob_target = &child->glob_result; |
2114 | if (child->argv) flags |= GLOB_APPEND; | 2114 | if (child->argv) flags |= GLOB_APPEND; |
2115 | } | 2115 | } |
2116 | gr = xglob(dest, flags, glob_target); | 2116 | gr = xglob(dest, flags, glob_target); |
2117 | if (gr != 0) return 1; | 2117 | if (gr != 0) return 1; |