From 26a89ae157249617ddd8909ae0130fc22c65f693 Mon Sep 17 00:00:00 2001 From: vda Date: Sun, 24 Dec 2006 07:14:17 +0000 Subject: less: implement waiting for input using select(). Rather tricky business. But we do not read entire input anymore up-front. git-svn-id: svn://busybox.net/trunk/busybox@17067 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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) -- cgit v1.2.3-55-g6feb