fix
authorPierre Habouzit <madcoder@debian.org>
Fri, 9 Nov 2007 09:12:43 +0000 (10:12 +0100)
committerPierre Habouzit <madcoder@debian.org>
Fri, 9 Nov 2007 09:12:43 +0000 (10:12 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
demo/boxshell.c

index c8ef22a..00a11a0 100644 (file)
@@ -61,6 +61,7 @@ int main(void)
         int ch;
 
         FD_ZERO(&rfds);
+        FD_SET(0, &rfds);
         FD_SET(rt->pty, &rfds);
 
         if (select(rt->pty + 1, &rfds, NULL, NULL, &tv) > 0) {