[PATCH] ash: clear NONBLOCK flag from stdin when in foreground
Laurent Bercot
ska-dietlibc at skarnet.org
Thu Aug 25 01:45:33 UTC 2011
On Wed, Aug 24, 2011 at 11:37:11PM +0200, Denys Vlasenko wrote:
> Got just a few minutes ago in a freshly opened gnome term:
>
> + --------------------------
> | bash: printf: write error: Interrupted system call
> | $ _
> |
> |
>
> Real world stroke again. EINTR which "can't happen" happened.
Absolutely. So let me step in again:
http://www.skarnet.org/software/skalibs/libstddjb/safewrappers.html
(But I do agree with you, Denys, that the best place to fix stray
EINTRs would be the kernel.)
--
Laurent
More information about the busybox
mailing list