"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/event-tty.c" between
xemacs-21.4.22.tar.gz and xemacs-21.4.24.tar.bz2

About: XEmacs (an alternative to GNU Emacs) is a highly customizable open source text editor and application development system (current version).

event-tty.c  (xemacs-21.4.22):event-tty.c  (xemacs-21.4.24.tar.bz2)
skipping to change at line 140 skipping to change at line 140
if (ndesc > 0) if (ndesc > 0)
{ {
/* Look for a TTY event */ /* Look for a TTY event */
for (i = 0; i < MAXDESC; i++) for (i = 0; i < MAXDESC; i++)
{ {
/* To avoid race conditions (among other things, an infinite /* To avoid race conditions (among other things, an infinite
loop when called from Fdiscard_input()), we must return loop when called from Fdiscard_input()), we must return
user events ahead of process events. */ user events ahead of process events. */
if (FD_ISSET (i, &temp_mask) && FD_ISSET (i, &tty_only_mask)) if (FD_ISSET (i, &temp_mask) && FD_ISSET (i, &tty_only_mask))
{ {
struct console *c = tty_find_console_from_fd (i); struct console *c = find_tty_or_stream_console_from_fd (i);
assert (c); assert (c);
if (read_event_from_tty_or_stream_desc (emacs_event, c, i)) if (read_event_from_tty_or_stream_desc (emacs_event, c, i))
return; return;
} }
} }
/* Look for a process event */ /* Look for a process event */
for (i = 0; i < MAXDESC; i++) for (i = 0; i < MAXDESC; i++)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)