diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 09f87908a45..57105982c15 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7179,6 +7179,8 @@ child_signal_init (void) | |||
| 7179 | exits. */ | 7179 | exits. */ |
| 7180 | eassert (0 <= fds[0]); | 7180 | eassert (0 <= fds[0]); |
| 7181 | eassert (0 <= fds[1]); | 7181 | eassert (0 <= fds[1]); |
| 7182 | if (fcntl (fds[0], F_SETFL, O_NONBLOCK) != 0) | ||
| 7183 | emacs_perror ("fcntl"); | ||
| 7182 | add_read_fd (fds[0], child_signal_read, NULL); | 7184 | add_read_fd (fds[0], child_signal_read, NULL); |
| 7183 | fd_callback_info[fds[0]].flags &= ~KEYBOARD_FD; | 7185 | fd_callback_info[fds[0]].flags &= ~KEYBOARD_FD; |
| 7184 | child_signal_read_fd = fds[0]; | 7186 | child_signal_read_fd = fds[0]; |