summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-24 07:14:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-24 07:14:17 +0000
commitf4dff773553da8b4a5a66205e920a82732156851 (patch)
treec9889bd051ff152f51a1e0056e1243063116e7c9 /shell
parent9ac9e55e3c1dd11bf007623ea672f7569366c186 (diff)
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.c2
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)