[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116209: Don't ignore SIGPROF in subprocesses
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] trunk r116209: Don't ignore SIGPROF in subprocesses |
Date: |
Thu, 30 Jan 2014 17:29:01 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116209
revision-id: address@hidden
parent: address@hidden
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Thu 2014-01-30 18:22:30 +0100
message:
Don't ignore SIGPROF in subprocesses
* process.c (create_process): Reset SIGPROF handler in the child.
* callproc.c (call_process): Likewise.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/callproc.c callproc.c-20091113204419-o5vbwnq5f7feedwu-248
src/process.c process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-01-29 18:39:11 +0000
+++ b/src/ChangeLog 2014-01-30 17:22:30 +0000
@@ -1,3 +1,8 @@
+2014-01-30 Andreas Schwab <address@hidden>
+
+ * process.c (create_process): Reset SIGPROF handler in the child.
+ * callproc.c (call_process): Likewise.
+
2014-01-29 Paul Eggert <address@hidden>
* xmenu.c (create_and_show_popup_menu): Port comment to C89.
=== modified file 'src/callproc.c'
--- a/src/callproc.c 2014-01-01 07:43:34 +0000
+++ b/src/callproc.c 2014-01-30 17:22:30 +0000
@@ -677,6 +677,10 @@
/* Emacs ignores SIGPIPE, but the child should not. */
signal (SIGPIPE, SIG_DFL);
+ /* Likewise for SIGPROF. */
+#ifdef SIGPROF
+ signal (SIGPROF, SIG_DFL);
+#endif
child_setup (filefd, fd_output, fd_error, new_argv, 0, current_dir);
}
=== modified file 'src/process.c'
--- a/src/process.c 2014-01-20 19:44:56 +0000
+++ b/src/process.c 2014-01-30 17:22:30 +0000
@@ -1841,6 +1841,9 @@
signal (SIGINT, SIG_DFL);
signal (SIGQUIT, SIG_DFL);
+#ifdef SIGPROF
+ signal (SIGPROF, SIG_DFL);
+#endif
/* Emacs ignores SIGPIPE, but the child should not. */
signal (SIGPIPE, SIG_DFL);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116209: Don't ignore SIGPROF in subprocesses,
Andreas Schwab <=