diff src/process.c @ 207:e45d5e7c476e r20-4b2

Import from CVS: tag r20-4b2
author cvs
date Mon, 13 Aug 2007 10:03:52 +0200
parents a2f645c6b9f8
children 41ff10fd062f
line wrap: on
line diff
--- a/src/process.c	Mon Aug 13 10:02:48 2007 +0200
+++ b/src/process.c	Mon Aug 13 10:03:52 2007 +0200
@@ -1923,7 +1923,9 @@
 	     XSTRING_DATA (p->name));
 #endif
     }
+  old_sigpipe = (SIGTYPE (*) (int)) signal (SIGPIPE, send_process_trap);
   Lstream_flush (XLSTREAM (p->outstream));
+  signal (SIGPIPE, old_sigpipe);
   UNGCPRO;
   Lstream_delete (XLSTREAM (lstream));
 }