aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2026-02-27 08:06:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2026-02-27 08:09:30 +0100
commitf51819afa57b085e55776ca4b9dc29215384e1ec (patch)
tree9f56e4259780fb385ff0a48262c29be836a2bc26 /scripts/basic
parentad88be9e7ea4ae74b5b012d75e5b92ff12ca273d (diff)
downloadbusybox-w32-f51819afa57b085e55776ca4b9dc29215384e1ec.tar.gz
busybox-w32-f51819afa57b085e55776ca4b9dc29215384e1ec.tar.bz2
busybox-w32-f51819afa57b085e55776ca4b9dc29215384e1ec.zip
less: do not retry reads of stdin if got EAGAIN
Also: fewer syscalls to set/clear O_NONBLOCK, skip trying to read keyboard if poll() told us it's not ready. function old new delta reinitialize 184 198 +14 getch_nowait 251 258 +7 sched_yield 25 - -25 read_lines 815 702 -113 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/1 up/down: 21/-138) Total: -117 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions