diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 07:14:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 07:14:17 +0000 |
commit | f4dff773553da8b4a5a66205e920a82732156851 (patch) | |
tree | c9889bd051ff152f51a1e0056e1243063116e7c9 /shell | |
parent | 9ac9e55e3c1dd11bf007623ea672f7569366c186 (diff) | |
download | busybox-f4dff773553da8b4a5a66205e920a82732156851.tar.gz |
less: implement waiting for input using select(). Rather tricky business.
But we do not read entire input anymore up-front.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 591e0a658..2de61dad9 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -12693,7 +12693,7 @@ readcmd(int argc, char **argv) FD_ZERO (&set); FD_SET (0, &set); - i = select (FD_SETSIZE, &set, NULL, NULL, &ts); + i = select(FD_SETSIZE, &set, NULL, NULL, &ts); if (!i) { #if defined(CONFIG_ASH_READ_NCHARS) if (nch_flag) |