[PATCH] ash: clear NONBLOCK flag from stdin when in foreground

Bernd Petrovitsch bernd at petrovitsch.priv.at
Fri Aug 19 23:42:38 UTC 2011


On Fre, 2011-08-19 at 10:07 -0700, Cathey, Jim wrote:
> >>That's why I propose we don't multiply syscalls, but extend existing
> >>socket I/O ops to work on non-sockets.
> 
> >IMHO it cannot be more elegant.
> 
> Only in one way can it become more elegant.  Eliminate sockets
> altogether, making them the fd's that they always should have been.  :-)

IMHO it's one more step in that direction.
I use sockets like fds - except that they might have a few different
parameters to set.
We have already some fds which are seekable and some that are not, so
sockets are just the third (and forth?) variant to it.

	Bernd
-- 
Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
                     LUGA : http://www.luga.at



More information about the busybox mailing list