diff options
author | Ron Yorston <rmy@pobox.com> | 2019-02-08 09:54:21 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-02-08 10:02:22 +0000 |
commit | 0eda390d68c456975289471e68b615ae096ab33b (patch) | |
tree | 88e613b3df0bc00e932aab5eeade1a78c8cdfeaa /libbb | |
parent | 8501e324596fbad9040718d568d12a460e7cf798 (diff) | |
download | busybox-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