From: Paul Eggert Date: Sun, 18 Nov 2012 02:29:09 +0000 (-0800) Subject: * nsterm.m (ns_select): Send SIGIO only to self, not to process group. X-Git-Tag: emacs-24.3.90~173^2~18^2~65 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=552a1590c6bcb0cb5d2be38c2f5ae47d9e6bf1ae;p=emacs.git * nsterm.m (ns_select): Send SIGIO only to self, not to process group. --- diff --git a/src/ChangeLog b/src/ChangeLog index b467a35de5f..2a0c0e6822d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-11-18 Paul Eggert + + * nsterm.m (ns_select): Send SIGIO only to self, not to process group. + 2012-11-18 Eli Zaretskii * w32select.c: Include w32common.h before w32term.h, so that diff --git a/src/nsterm.m b/src/nsterm.m index 2f400b95c58..57d32ee0528 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -3462,10 +3462,10 @@ ns_select (int nfds, fd_set *readfds, fd_set *writefds, /* NSTRACE (ns_select); */ - if (hold_event_q.nr > 0) + if (hold_event_q.nr > 0) { /* We already have events pending. */ - kill (0, SIGIO); + raise (SIGIO); errno = EINTR; return -1; }