wok-4.x view busybox/stuff/busybox-1.10.1-script.u @ rev 2783
slitaz-eeepc: Add support for 1000H to tazeee (Thank Filou)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:47:16 2009 +0200 (2009-04-27) |
parents | |
children |
line source
1 --- busybox-1.10.1/util-linux/script.c
2 +++ busybox-1.10.1/util-linux/script.c
3 @@ -132,8 +132,7 @@
4 count = safe_read(pty, buf, sizeof(buf));
5 if (count <= 0 && errno != EAGAIN) {
6 /* err/eof: don't read anymore */
7 - pfd[1].revents = 0;
8 - fd_count--;
9 + break;
10 }
11 if (count > 0) {
12 full_write(1, buf, count);