a very simple fix - if I'd only thought if it last week :)
authorAndrew Tridgell <tridge@samba.org>
Sun, 9 Apr 2000 02:16:42 +0000 (02:16 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 9 Apr 2000 02:16:42 +0000 (02:16 +0000)
commit36349ea0bea8eb341b69a90792ec2147fde19573
treef2e514c890d6246e264f77ed079d0823625f9991
parentec3f7d1b613b2c5f7ea5f83b25760c0de096acf1
a very simple fix - if I'd only thought if it last week :)

rsh relies on stdin being blocking
ssh relies on stdout being non-blocking

what we've done before is to set both stdin and stdout to either
blocking or non-blocking. Now I set stdin to blocking and stdout to
non-blocking. This seems to fix all cases I've tested.
util.c