[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113946: * process.c (handle_child_signal): Fix cras
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r113946: * process.c (handle_child_signal): Fix crash; deleted pid. |
Date: |
Mon, 19 Aug 2013 05:46:20 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113946
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15106
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2013-08-18 22:46:17 -0700
message:
* process.c (handle_child_signal): Fix crash; deleted pid.
This was introduced by my 2013-08-12 fix for Bug#15035.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/process.c process.c-20091113204419-o5vbwnq5f7feedwu-462
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-08-19 04:24:19 +0000
+++ b/src/ChangeLog 2013-08-19 05:46:17 +0000
@@ -1,3 +1,8 @@
+2013-08-19 Paul Eggert <address@hidden>
+
+ * process.c (handle_child_signal): Fix crash; deleted pid (Bug#15106).
+ This was introduced by my 2013-08-12 fix for Bug#15035.
+
2013-08-19 Dmitry Antipov <address@hidden>
* image.c (imagemagick_create_cache, imagemagick_get_animation_cache)
=== modified file 'src/process.c'
--- a/src/process.c 2013-08-16 05:15:51 +0000
+++ b/src/process.c 2013-08-19 05:46:17 +0000
@@ -6153,7 +6153,10 @@
= (MOST_NEGATIVE_FIXNUM <= TYPE_MINIMUM (pid_t)
&& TYPE_MAXIMUM (pid_t) <= MOST_POSITIVE_FIXNUM);
Lisp_Object head = XCAR (tail);
- Lisp_Object xpid = XCAR (head);
+ Lisp_Object xpid;
+ if (! CONSP (head))
+ continue;
+ xpid = XCAR (head);
if (all_pids_are_fixnums ? INTEGERP (xpid) : NUMBERP (xpid))
{
pid_t deleted_pid;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113946: * process.c (handle_child_signal): Fix crash; deleted pid.,
Paul Eggert <=