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 697d9b0b19b..9b1de19f0ae 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7195,6 +7195,8 @@ child_signal_init (void) | |||
| 7195 | eassert (0 <= fds[1]); | 7195 | eassert (0 <= fds[1]); |
| 7196 | if (fcntl (fds[0], F_SETFL, O_NONBLOCK) != 0) | 7196 | if (fcntl (fds[0], F_SETFL, O_NONBLOCK) != 0) |
| 7197 | emacs_perror ("fcntl"); | 7197 | emacs_perror ("fcntl"); |
| 7198 | if (fcntl (fds[1], F_SETFL, O_NONBLOCK) != 0) | ||
| 7199 | emacs_perror ("fcntl"); | ||
| 7198 | add_read_fd (fds[0], child_signal_read, NULL); | 7200 | add_read_fd (fds[0], child_signal_read, NULL); |
| 7199 | fd_callback_info[fds[0]].flags &= ~KEYBOARD_FD; | 7201 | fd_callback_info[fds[0]].flags &= ~KEYBOARD_FD; |
| 7200 | child_signal_read_fd = fds[0]; | 7202 | child_signal_read_fd = fds[0]; |