• Paul Eggert's avatar
    Fix problems in ns port found by static checking. · a631d0e0
    Paul Eggert authored
    * 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.
    a631d0e0
nsterm.m 212 KB