summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-24 07:14:17 +0000
committerDenis Vlasenko2006-12-24 07:14:17 +0000
commitf4dff773553da8b4a5a66205e920a82732156851 (patch)
treec9889bd051ff152f51a1e0056e1243063116e7c9 /shell/ash.c
parent9ac9e55e3c1dd11bf007623ea672f7569366c186 (diff)
downloadbusybox-f4dff773553da8b4a5a66205e920a82732156851.zip
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/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 591e0a6..2de61da 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)