diff options
author | Denys Vlasenko | 2009-05-29 10:39:06 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-05-29 10:39:06 +0200 |
commit | 4b7db4f2ca232c630e334fa56b1eb89848d5fcc5 (patch) | |
tree | 55608587f33fc1d6f6a8e40dfdf7fea66c750d7a /shell/hush.c | |
parent | 171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2 (diff) | |
download | busybox-4b7db4f2ca232c630e334fa56b1eb89848d5fcc5.zip busybox-4b7db4f2ca232c630e334fa56b1eb89848d5fcc5.tar.gz |
read_key: drop optimization where we read 3 bytes at once
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index add40eb..5fa693b 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1006,7 +1006,7 @@ static void restore_G_args(save_arg_t *sv, char **argv) * Commands run in command substitution ("`cmd`") * have SIGTTIN, SIGTTOU, SIGTSTP set to SIG_IGN. * - * Ordinary commands have signals set to SIG_IGN/DFL set as inherited + * Ordinary commands have signals set to SIG_IGN/DFL as inherited * by the shell from its parent. * * Siganls which differ from SIG_DFL action @@ -1285,7 +1285,7 @@ static int set_local_var(char *str, int flg_export, int flg_read_only) if (strncmp(cur->varstr, str, name_len) != 0) { if (!cur->next) { /* Bail out. Note that now cur points - * to last var in linked list */ + * to the last var in the linked list */ break; } cur = cur->next; |