1
0
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:
Jan Djärv 2013-03-16 15:22:37 +01:00
parent 960ce48010
commit 6615748ac6
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -3601,6 +3601,11 @@ ns_select (int nfds, fd_set *readfds, fd_set *writefds,
result = t;
}
}
else
{
errno = EINTR;
result = -1;
}
return result;
}