wok-4.x diff busybox/stuff/busybox-1.10.1-script.u @ rev 1590
sox: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Oct 16 20:19:46 2008 +0000 (2008-10-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/busybox/stuff/busybox-1.10.1-script.u Thu Oct 16 20:19:46 2008 +0000 1.3 @@ -0,0 +1,12 @@ 1.4 +--- busybox-1.10.1/util-linux/script.c 1.5 ++++ busybox-1.10.1/util-linux/script.c 1.6 +@@ -132,8 +132,7 @@ 1.7 + count = safe_read(pty, buf, sizeof(buf)); 1.8 + if (count <= 0 && errno != EAGAIN) { 1.9 + /* err/eof: don't read anymore */ 1.10 +- pfd[1].revents = 0; 1.11 +- fd_count--; 1.12 ++ break; 1.13 + } 1.14 + if (count > 0) { 1.15 + full_write(1, buf, count);