a couple of changes to where the nonblocking settings are called.
[rsync/rsync.git] / util.c
diff --git a/util.c b/util.c
index cc626d7..70743a6 100644 (file)
--- a/util.c
+++ b/util.c
@@ -98,6 +98,9 @@ int piped_child(char **command,int *f_in,int *f_out)
 
   *f_in = from_child_pipe[0];
   *f_out = to_child_pipe[1];
+
+  set_nonblocking(*f_in);
+  set_nonblocking(*f_out);
   
   return pid;
 }