diff options
author | Ron Yorston <rmy@pobox.com> | 2022-02-09 09:03:18 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-02-09 09:05:39 +0000 |
commit | 492d0a7492a57fe8f02c766e25960b0ce0d88759 (patch) | |
tree | 4f5764a5c2250c031ea05e9aeacbb40d7971f493 /shell/shell_common.c | |
parent | 4734416a21312488a5099a297907783bee4ccc22 (diff) | |
parent | caa9c4f707b661cf398f2c2d66f54f5b0d8adfe2 (diff) | |
download | busybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.tar.gz busybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.tar.bz2 busybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.zip |
Merge busybox into merge
Fix conflicts in reset and ash.
Redefine the new safe_read_key() as a reference to read_key().
Disable SHA256_HWACCEL.
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r-- | shell/shell_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c index fff356c04..399d5e684 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -218,6 +218,7 @@ shell_builtin_read(struct builtin_read_params *params) | |||
218 | */ | 218 | */ |
219 | errno = 0; | 219 | errno = 0; |
220 | pfd[0].events = POLLIN; | 220 | pfd[0].events = POLLIN; |
221 | //TODO race with a signal arriving just before the poll! | ||
221 | if (poll(pfd, 1, timeout) <= 0) { | 222 | if (poll(pfd, 1, timeout) <= 0) { |
222 | /* timed out, or EINTR */ | 223 | /* timed out, or EINTR */ |
223 | err = errno; | 224 | err = errno; |