HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't ignore SIGPROF in subprocesses
[bpt/emacs.git]
/
src
/
callproc.c
diff --git
a/src/callproc.c
b/src/callproc.c
index
886bfce
..
2ce4a7d
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-677,6
+677,10
@@
call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd,
/* 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);
}