aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-02-08 09:54:21 +0000
committerRon Yorston <rmy@pobox.com>2019-02-08 10:02:22 +0000
commit0eda390d68c456975289471e68b615ae096ab33b (patch)
tree88e613b3df0bc00e932aab5eeade1a78c8cdfeaa /libbb
parent8501e324596fbad9040718d568d12a460e7cf798 (diff)
downloadbusybox-w32-0eda390d68c456975289471e68b615ae096ab33b.tar.gz
busybox-w32-0eda390d68c456975289471e68b615ae096ab33b.tar.bz2
busybox-w32-0eda390d68c456975289471e68b615ae096ab33b.zip
ash: improve handling of 'read -t 0'
Instead of always returning that no input is available: - for a disk file return 'available'; - for the console return 'not available'; - for anything else (e.g. pipe) return whatever poll says. This fixes the test ash-read/read_t0.tests.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions