diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-03 11:59:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-03 11:59:12 +0000 |
commit | 81c3a1d0b2be02c1d675e6dceb500ce6b3da3282 (patch) | |
tree | c95a1b90ea9c5a287435cb6c7ccb7516bce78c4a /shell | |
parent | 6ebb2f56d57ee2e900954d2264b605353cf44ca2 (diff) | |
download | busybox-81c3a1d0b2be02c1d675e6dceb500ce6b3da3282.tar.gz |
ash: remove TODO which seems to actually work now.
no code changes
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/ash.c b/shell/ash.c index 913779ab4..2a71a2cf2 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -75,7 +75,7 @@ #endif #if defined(__uClinux__) -#error "Do not even bother, ash will not run on uClinux" +#error "Do not even bother, ash will not run on NOMMU machine" #endif @@ -90,7 +90,7 @@ #define xbarrier() do { __asm__ __volatile__ ("": : :"memory"); } while (0) -/* C99 say: "char" declaration may be signed or unsigned default */ +/* C99 says: "char" declaration may be signed or unsigned by default */ #define signed_char2int(sc) ((int)((signed char)sc)) @@ -4679,7 +4679,6 @@ waitforjob(struct job *jp) * $ bash -c './sleep5intoff; echo hi' * ^C^C^C^C <--- pressing ^C once a second * $ _ - * TODO: we do not execute "echo hi" as bash does: * $ bash -c './sleep5intoff; echo hi' * ^\^\^\^\hi <--- pressing ^\ (SIGQUIT) * $ _ @@ -5556,9 +5555,8 @@ evalbackcmd(union node *n, struct backcmd *result) result->buf = NULL; result->nleft = 0; result->jp = NULL; - if (n == NULL) { + if (n == NULL) goto out; - } saveherefd = herefd; herefd = -1; @@ -5665,7 +5663,7 @@ expari(int quotes) int flag; int len; - /* ifsfree(); */ + /* ifsfree(); */ /* * This routine is slightly over-complicated for @@ -5983,8 +5981,9 @@ varunset(const char *end, const char *var, const char *umsg, int varflags) if (*end == CTLENDVAR) { if (varflags & VSNUL) tail = " or null"; - } else + } else { msg = umsg; + } } ash_msg_and_raise_error("%.*s: %s%s", end - var - 1, var, msg, tail); } @@ -6178,8 +6177,9 @@ subevalvar(char *p, char *str, int strloc, int subtype, idx++; rmesc++; } - } else + } else { idx = loc; + } for (loc = repl; *loc; loc++) { restart_detect = stackblock(); |