Show
Ignore:
Timestamp:
08/16/09 01:38:33 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1250386713 +0000
git-parent:

[d28cd24a4ee6fb5b897aa9c5c17082587b6fb54b]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1250386713 +0000
Message:

first whack at using fcntl everywhere. Heads up, a lot could break. resf #167.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_iep.c

    r66b174e rb9a4230  
    852852  } 
    853853  /* in the parent */ 
    854   socklen_t on = 1; 
    855  
    856854  close(info->stdin_pipe[0]); 
    857855  info->stdin_pipe[0] = -1; 
    858856  close(info->stderr_pipe[1]); 
    859857  info->stderr_pipe[1] = -1; 
    860   if(ioctl(info->stderr_pipe[0], FIONBIO, &on)) { 
     858  if(eventer_set_fd_nonblocking(info->stderr_pipe[0])) { 
    861859    goto bail; 
    862860  }