aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-17 19:01:06 +0100
committerJoakim Verona2012-12-17 19:01:06 +0100
commitbf7be49be8c23196dce8110d8d7b40351ee7f85d (patch)
treeeeef709e6f03a47aeb941e6334bdfe7039900c90
parentea1a68e137b3471f4007661463eb8482eab58fa0 (diff)
parent207a7ef0531ca92468e19115a2c2064c9b22bfd4 (diff)
downloademacs-bf7be49be8c23196dce8110d8d7b40351ee7f85d.tar.gz
emacs-bf7be49be8c23196dce8110d8d7b40351ee7f85d.zip
auto upstream
-rw-r--r--src/ChangeLog10
-rw-r--r--src/process.c8
2 files changed, 11 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 99be34482df..d5071c541b4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12012-12-17 Paul Eggert <eggert@cs.ucla.edu>
2
3 Don't reraise SIGCHLD, as that can now lose (Bug#13192).
4 With the 2012-12-03 fix for Bug#12980 in place, an old workaround
5 for some of that bug's symptoms can now cause Emacs to abort.
6 Remove the workaround.
7 * process.c (wait_reading_process_output): Don't reraise SIGCHLD.
8 The bug that caused SIGCHLD to get lost has been fixed, and the
9 workaround for it can now cause Emacs to abort.
10
12012-12-16 Paul Eggert <eggert@cs.ucla.edu> 112012-12-16 Paul Eggert <eggert@cs.ucla.edu>
2 12
3 * sysdep.c (emacs_abort): Bump backtrace size to 40. 13 * sysdep.c (emacs_abort): Bump backtrace size to 40.
diff --git a/src/process.c b/src/process.c
index 7b21d060cf8..92d5e692d0b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4773,11 +4773,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4773 Therefore, if we get an error reading and errno = 4773 Therefore, if we get an error reading and errno =
4774 EIO, just continue, because the child process has 4774 EIO, just continue, because the child process has
4775 exited and should clean itself up soon (e.g. when we 4775 exited and should clean itself up soon (e.g. when we
4776 get a SIGCHLD). 4776 get a SIGCHLD). */
4777
4778 However, it has been known to happen that the SIGCHLD
4779 got lost. So raise the signal again just in case.
4780 It can't hurt. */
4781 else if (nread == -1 && errno == EIO) 4777 else if (nread == -1 && errno == EIO)
4782 { 4778 {
4783 struct Lisp_Process *p = XPROCESS (proc); 4779 struct Lisp_Process *p = XPROCESS (proc);
@@ -4795,8 +4791,6 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4795 p->tick = ++process_tick; 4791 p->tick = ++process_tick;
4796 pset_status (p, Qfailed); 4792 pset_status (p, Qfailed);
4797 } 4793 }
4798 else
4799 handle_child_signal (SIGCHLD);
4800 } 4794 }
4801#endif /* HAVE_PTYS */ 4795#endif /* HAVE_PTYS */
4802 /* If we can detect process termination, don't consider the 4796 /* If we can detect process termination, don't consider the