Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1a9327d5
Commit
1a9327d5
authored
Oct 18, 2012
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* nsterm.m (ns_select): Check writefds before call to
FD_ISSET. Fixes: debbugs:12668
parent
afb8aa24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/ChangeLog
src/ChangeLog
+5
-0
src/nsterm.m
src/nsterm.m
+3
-3
No files found.
src/ChangeLog
View file @
1a9327d5
2012-10-18 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_select): Check writefds before call to
FD_ISSET (Bug#12668).
2012-10-18 Daniel Colascione <dancol@dancol.org>
* alloc.c (NSTATICS): Increase from 0x650 to 0x1000
...
...
src/nsterm.m
View file @
1a9327d5
...
...
@@ -3443,10 +3443,10 @@ overwriting cursor (usually when cursor on a tab) */
/* NSTRACE (ns_select); */
for (k = 0;
readfds &&
k < nfds+1; k++)
for (k = 0; k < nfds+1; k++)
{
if (FD_ISSET(k, readfds)) ++nr;
if (FD_ISSET(k, writefds)) ++nr;
if (
readfds &&
FD_ISSET(k, readfds)) ++nr;
if (
writefds &&
FD_ISSET(k, writefds)) ++nr;
}
if (NSApp == nil
...
...
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