[Commits] action.c 1.12.2.75 1.12.2.76

claws at claws-mail.org claws at claws-mail.org
Wed Nov 14 12:20:58 CET 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv6017/src

Modified Files:
      Tag: gtk2
	action.c 
Log Message:
2012-11-14 [paul]	3.8.1cvs120

	* src/action.c
		revert this change from 3.8.1cvs60, it breaks
		actions with a pipe 

Index: action.c
===================================================================
RCS file: /home/claws-mail/claws/src/action.c,v
retrieving revision 1.12.2.75
retrieving revision 1.12.2.76
diff -u -d -r1.12.2.75 -r1.12.2.76
--- action.c	19 Sep 2012 12:22:24 -0000	1.12.2.75
+++ action.c	14 Nov 2012 11:20:56 -0000	1.12.2.76
@@ -973,15 +973,18 @@
 				     ACTION_USER_IN |
 				     ACTION_USER_HIDDEN_IN)) {
 					r |= close(fileno(stdin));
+					(void) dup  (chld_in[0]);
 				}
 				r |= close(chld_in[0]);
 				r |= close(chld_in[1]);
 
 				r |= close(fileno(stdout));
+				(void) dup  (chld_out[1]);
 				r |= close(chld_out[0]);
 				r |= close(chld_out[1]);
 
 				r |= close(fileno(stderr));
+				(void) dup  (chld_err[1]);
 				r |= close(chld_err[0]);
 				r |= close(chld_err[1]);
 



More information about the Commits mailing list