Dave Dykstra <[EMAIL PROTECTED]> writes:

> we hadn't any evidence that server mode was affected.  If it's easier for
> you to hack source code than getting the code out of CVS, instead put
> "set_blocking(STDOUT_FILENO)" in util.c after the place it does
> set_blocking(STDIN_FILENO).

Sorry, non-programmer alert:

It  wasn't clear to me if this is a replacement:
set_blocking(STDOUT_FILENO)  *instead of*  set_blocking(STDIN_FILENO)
or an addition.

Should the final result look like this?
  [...]
      umask(orig_umask);
      set_blocking(STDIN_FILENO);
      set_blocking(STDOUT_FILENO);      
      execvp(command[0], command);


Reply via email to