aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 26d40c26cd5..84d373ff37b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5113,6 +5113,7 @@ send_process_trap ()
5113 sigrelse (SIGPIPE); 5113 sigrelse (SIGPIPE);
5114 sigrelse (SIGALRM); 5114 sigrelse (SIGALRM);
5115#endif /* BSD4_1 */ 5115#endif /* BSD4_1 */
5116 sigunblock (sigmask (SIGPIPE));
5116 longjmp (send_process_frame, 1); 5117 longjmp (send_process_frame, 1);
5117} 5118}
5118 5119
@@ -5297,7 +5298,11 @@ send_process (proc, buf, len, object)
5297 0, datagram_address[outfd].sa, 5298 0, datagram_address[outfd].sa,
5298 datagram_address[outfd].len); 5299 datagram_address[outfd].len);
5299 if (rv < 0 && errno == EMSGSIZE) 5300 if (rv < 0 && errno == EMSGSIZE)
5300 report_file_error ("sending datagram", Fcons (proc, Qnil)); 5301 {
5302 signal (SIGPIPE, old_sigpipe);
5303 report_file_error ("sending datagram",
5304 Fcons (proc, Qnil));
5305 }
5301 } 5306 }
5302 else 5307 else
5303#endif 5308#endif