]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsterm.m (ns_select): Send SIGIO only to self, not to process group.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Nov 2012 02:29:09 +0000 (18:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Nov 2012 02:29:09 +0000 (18:29 -0800)
src/ChangeLog
src/nsterm.m

index b467a35de5fd818bbc88b32c99b7e54b953ff4ca..2a0c0e6822d14713be2e4ff2cc094cd911d66dbf 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * nsterm.m (ns_select): Send SIGIO only to self, not to process group.
+
 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
 
        * w32select.c: Include w32common.h before w32term.h, so that
index 2f400b95c58db06dcb92379f855bec12be932814..57d32ee0528e3b9b9dda47820c79f29528e3b168 100644 (file)
@@ -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;
     }