Displaying 1 result from an estimated 1 matches for "cleanup_pipe".
2003 Jun 27
5
PATCH/RFC: Another stab at the Cygwin hang problem
...ynchronous notification?
Comments sought, meanwhile I'll test the patch a bit...
Regards
Anthony
*** main.c.Orig	Fri Jun 27 15:21:22 2003
--- main.c	Fri Jun 27 15:30:09 2003
***************
*** 390,395 ****
--- 390,396 ----
  	int status=0;
  	int recv_pipe[2];
  	int error_pipe[2];
+ 	int cleanup_pipe[2];
  	extern int preserve_hard_links;
  	extern int delete_after;
  	extern int recurse;
***************
*** 416,426 ****
--- 417,435 ----
  		exit_cleanup(RERR_SOCKETIO);
  	}
    
+ 	if (pipe(cleanup_pipe) < 0) {
+ 		rprintf(FERROR,"cleanup pipe failed in do_recv\n");
+ 		exit_clean...