aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndreas Schwab2014-01-30 18:22:30 +0100
committerAndreas Schwab2014-01-30 18:22:30 +0100
commit507a173f5077b86152feb665421f5e6d47b7c85c (patch)
tree977bd9712369b7d556ba775c8943c6ce690c08dd /src/process.c
parentdf1834593692c4103f89de90aaa882a2fb404eb6 (diff)
downloademacs-507a173f5077b86152feb665421f5e6d47b7c85c.tar.gz
emacs-507a173f5077b86152feb665421f5e6d47b7c85c.zip
Don't ignore SIGPROF in subprocesses
* process.c (create_process): Reset SIGPROF handler in the child. * callproc.c (call_process): Likewise.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 94033fa7ee3..85470b66c3e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1841,6 +1841,9 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
1841 1841
1842 signal (SIGINT, SIG_DFL); 1842 signal (SIGINT, SIG_DFL);
1843 signal (SIGQUIT, SIG_DFL); 1843 signal (SIGQUIT, SIG_DFL);
1844#ifdef SIGPROF
1845 signal (SIGPROF, SIG_DFL);
1846#endif
1844 1847
1845 /* Emacs ignores SIGPIPE, but the child should not. */ 1848 /* Emacs ignores SIGPIPE, but the child should not. */
1846 signal (SIGPIPE, SIG_DFL); 1849 signal (SIGPIPE, SIG_DFL);