wok-stable diff busybox/stuff/busybox-1.10.1-script.u @ rev 1346

Upd: File to 4.26
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 04 21:47:58 2008 +0200 (2008-09-04)
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 Sep 04 21:47:58 2008 +0200
     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);