Mercurial > emacs
changeset 14496:beca72fdb420
(sigchld_handler): Use cleaner end-of-list test.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 05 Feb 1996 20:32:20 +0000 |
parents | fc4be3d538e0 |
children | 002c4d6b3e28 |
files | src/process.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Mon Feb 05 17:43:22 1996 +0000 +++ b/src/process.c Mon Feb 05 20:32:20 1996 +0000 @@ -3321,7 +3321,7 @@ /* Find the process that signaled us, and record its status. */ p = 0; - for (tail = Vprocess_alist; XSYMBOL (tail) != XSYMBOL (Qnil); tail = XCONS (tail)->cdr) + for (tail = Vprocess_alist; CONSP (tail); tail = XCONS (tail)->cdr) { proc = XCONS (XCONS (tail)->car)->cdr; p = XPROCESS (proc); @@ -3333,7 +3333,7 @@ /* Look for an asynchronous process whose pid hasn't been filled in yet. */ if (p == 0) - for (tail = Vprocess_alist; XSYMBOL (tail) != XSYMBOL (Qnil); tail = XCONS (tail)->cdr) + for (tail = Vprocess_alist; CONSP (tail); tail = XCONS (tail)->cdr) { proc = XCONS (XCONS (tail)->car)->cdr; p = XPROCESS (proc);