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
5e7e1da2
Commit
5e7e1da2
authored
Jul 31, 1994
by
Richard M. Stallman
Browse files
(create_process): Set default handling for SIGINT, etc.
(wait_reading_process_input): Fix previous change.
parent
b7c2e3d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/process.c
src/process.c
+5
-2
No files found.
src/process.c
View file @
5e7e1da2
...
...
@@ -1409,6 +1409,9 @@ create_process (process, new_argv, current_dir)
#endif
/* not BSD4_1 */
#endif
/* SIGCHLD */
signal
(
SIGINT
,
SIG_DFL
);
signal
(
SIGQUIT
,
SIG_DFL
);
if
(
pty_flag
)
child_setup_tty
(
xforkout
);
child_setup
(
xforkin
,
xforkout
,
xforkout
,
...
...
@@ -1950,7 +1953,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
/* Wait till there is something to do */
Available
=
input_wait_mask
;
if
(
!
XINT
(
read_kbd
)
||
wait_for_cell
!
=
0
)
if
(
!
XINT
(
read_kbd
)
&&
wait_for_cell
=
=
0
)
FD_CLR
(
keyboard_descriptor
,
&
Available
);
/* If frame size has changed or the window is newly mapped,
...
...
@@ -2035,7 +2038,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
/* We used to do this if wait_for_cell,
but that caused infinite recursion in selection request events. */
if
((
XINT
(
read_kbd
))
if
((
XINT
(
read_kbd
)
||
wait_for_cell
)
&&
detect_input_pending
())
{
swallow_events
();
...
...
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