Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a36fb15e
Commit
a36fb15e
authored
Oct 14, 2012
by
Jan Djärv
Browse files
* nsterm.m (ns_select): Count fd:s in writefs also.
Fixes: debbugs:12422
parent
7b9abf24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/nsterm.m
src/nsterm.m
+4
-1
No files found.
src/ChangeLog
View file @
a36fb15e
2012-10-14 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422).
2012-10-13 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612).
...
...
src/nsterm.m
View file @
a36fb15e
...
...
@@ -3444,7 +3444,10 @@ overwriting cursor (usually when cursor on a tab) */
/* NSTRACE (ns_select); */
for (k = 0; readfds && k < nfds+1; k++)
if (FD_ISSET(k, readfds)) ++nr;
{
if (FD_ISSET(k, readfds)) ++nr;
if (FD_ISSET(k, writefds)) ++nr;
}
if (NSApp == nil
|| (timeout && timeout->tv_sec == 0 && timeout->tv_nsec == 0))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment