Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1861b214
Commit
1861b214
authored
Apr 15, 1996
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wait_reading_process_input) [!subprocesses]:
Get rid of the loop around the detect_input_pending call.
parent
d04127d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
src/process.c
src/process.c
+8
-13
No files found.
src/process.c
View file @
1861b214
...
...
@@ -3953,19 +3953,14 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
set_waiting_for_input
(
&
timeout
);
}
{
int
old_timers_run
=
timers_run
;
if
(
XINT
(
read_kbd
)
&&
detect_input_pending
())
{
nfds
=
0
;
FD_ZERO
(
&
waitchannels
);
}
else
if
(
timers_run
!=
old_timers_run
)
;
else
nfds
=
select
(
1
,
&
waitchannels
,
(
SELECT_TYPE
*
)
0
,
(
SELECT_TYPE
*
)
0
,
&
timeout
);
}
if
(
XINT
(
read_kbd
)
&&
detect_input_pending
())
{
nfds
=
0
;
FD_ZERO
(
&
waitchannels
);
}
else
nfds
=
select
(
1
,
&
waitchannels
,
(
SELECT_TYPE
*
)
0
,
(
SELECT_TYPE
*
)
0
,
&
timeout
);
xerrno
=
errno
;
...
...
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