Changeset - 06d8d6cb898f
[Not reviewed]
Merge default
0 1 0
Ethan Zonca (ethanzonca) - 15 years ago 2010-09-03 00:11:54
e@ethanzonca.com
Merge
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/common/execio.c
Show inline comments
 
@@ -133,9 +133,6 @@ int execio_open(struct execio **rem, con
 
	  counter --;
 
	}
 
      
 
      /* stderr is the only stream we haven't confiscated atm - just for fun - I will confiscate it later, though, to support parsing error messages */
 
      fprintf(stderr, "closed %d/%d fds before execing \"%s\"\n", counter2, maxfds, progname);
 

	
 
      /*
 
	now exec: execvp uses interpreter to find the file to exec
 
       */
 
@@ -253,7 +250,6 @@ int execio_close(struct execio *eio)
 
     the waitpid(2) seems to indicate that only when the child is terminated will this wait return. 
 
     This are of code will probably need improving - the ability to seng SIGKILL after a timeout? So we'll output a debug line before running waitpid
 
  */
 
  fprintf(stderr, "execio_close: running waitpid\n");
 
  waitpid(eio->child, &childstatus, 0);
 

	
 
  free(eio);
0 comments (0 inline, 0 general)