Changeset - 00c2ccd55748
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 17 years ago 2009-02-23 19:07:26
ohnobinki@ohnopublishing.net
fixed if statement
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/common/execio.c
Show inline comments
 
@@ -44,13 +44,14 @@ int execio_open(struct execio **rem, con
 
  /* create two pipes to facilitate communication with child */
 
  if(pipe(pipe_write))
 
    return 1;
 
  if(pipe(pipe_read));
 
  if(pipe(pipe_read))
 
  {
 
    close(pipe_write[0]);
 
    close(pipe_write[1]);
 
    return 1;
 
  }
 
  
 
  
 
  /* parent */
 
  child = fork();
 
  if(child == -1)
0 comments (0 inline, 0 general)