]> git.eshelyaron.com Git - emacs.git/commit
Fix problems in ns port found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Nov 2012 15:15:49 +0000 (07:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Nov 2012 15:15:49 +0000 (07:15 -0800)
commita631d0e04747884855aa460cb903d1fd2ff106f4
treee316cab6161062e84239ec80fcdc23cfc16c1379
parentd76afb936dc9cf6a7be48162ebb3c7114e65412a
Fix problems in ns port found by static checking.

* nsterm.m: Include <pthread.h>, for pthread_mutex_lock etc.
(hold_event, setPosition:portion:whole:): Send SIGIO only to self,
not to process group.
(ns_select): Use emacs_write, not write, as that's more robust
in the presence of signals.
(fd_handler:): Check for read errors.
src/ChangeLog
src/nsterm.m