mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
* nsterm.m (ns_select): Don't return with result uninitialized.
This commit is contained in:
parent
960ce48010
commit
6615748ac6
@ -1,6 +1,7 @@
|
||||
2013-03-16 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (updateFrameSize:): Change resize increments if needed.
|
||||
(ns_select): Don't return with result uninitialized.
|
||||
|
||||
* nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename
|
||||
and getDirectory.
|
||||
|
@ -3601,6 +3601,11 @@ ns_select (int nfds, fd_set *readfds, fd_set *writefds,
|
||||
result = t;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
errno = EINTR;
|
||||
result = -1;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user