diff options
author | Denys Vlasenko | 2022-01-16 23:54:46 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-01-16 23:54:46 +0100 |
commit | a277506a64404e6c4472ff89c944c4f353db1c33 (patch) | |
tree | 168015ae951c51bcb0295c2ebc241f168001a135 /shell/shell_common.c | |
parent | c2788f88f430da8ae5fb5f293b13fc2b167ea2fe (diff) | |
download | busybox-a277506a64404e6c4472ff89c944c4f353db1c33.zip busybox-a277506a64404e6c4472ff89c944c4f353db1c33.tar.gz |
shell: add comments about SIGINT-related problems
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 2e36d92..13163ac 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c @@ -196,6 +196,7 @@ shell_builtin_read(struct builtin_read_params *params) */ errno = 0; pfd[0].events = POLLIN; +//TODO race with a signal arriving just before the poll! if (poll(pfd, 1, timeout) <= 0) { /* timed out, or EINTR */ err = errno; |