diff options
| author | Ron Yorston <rmy@pobox.com> | 2025-08-10 07:46:58 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2025-08-10 07:46:58 +0100 |
| commit | c70a65f36c017f6feb7e86415bec1a644e71dbab (patch) | |
| tree | e1c3afca24fd35bd2ff142cc0ea83151fdfa5996 /miscutils | |
| parent | dcb4966c5492aeb67494d9ffdc58ff3054add443 (diff) | |
| parent | 84766710f420dd444e2a03d33a1915ce55661e67 (diff) | |
| download | busybox-w32-c70a65f36c017f6feb7e86415bec1a644e71dbab.tar.gz busybox-w32-c70a65f36c017f6feb7e86415bec1a644e71dbab.tar.bz2 busybox-w32-c70a65f36c017f6feb7e86415bec1a644e71dbab.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 467c76e2a..5a8fc5a74 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
| @@ -1178,7 +1178,7 @@ static int64_t getch_nowait(void) | |||
| 1178 | 1178 | ||
| 1179 | /* We have kbd_fd in O_NONBLOCK mode, read inside safe_read_key() | 1179 | /* We have kbd_fd in O_NONBLOCK mode, read inside safe_read_key() |
| 1180 | * would not block even if there is no input available */ | 1180 | * would not block even if there is no input available */ |
| 1181 | key64 = safe_read_key(kbd_fd, kbd_input, /*timeout off:*/ -2); | 1181 | key64 = safe_read_key(kbd_fd, kbd_input, /*do not poll:*/ -2); |
| 1182 | if ((int)key64 == -1) { | 1182 | if ((int)key64 == -1) { |
| 1183 | if (errno == EAGAIN) { | 1183 | if (errno == EAGAIN) { |
| 1184 | /* No keyboard input available. Since poll() did return, | 1184 | /* No keyboard input available. Since poll() did return, |
