diff options
| author | Eli Zaretskii | 2016-12-07 21:01:40 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-07 21:01:40 +0200 |
| commit | fa7d1f075fb862ae4ca28390abf33d625dbd2813 (patch) | |
| tree | 68c81214177fc82c3834216cb309d334e7253224 /src/w32proc.c | |
| parent | 16ac7c0fc91b5eb09f2a129fc2c01281369f897a (diff) | |
| download | emacs-fa7d1f075fb862ae4ca28390abf33d625dbd2813.tar.gz emacs-fa7d1f075fb862ae4ca28390abf33d625dbd2813.zip | |
Fix network streams.
The original code messed up flags in fd_callback_data[], and also
didn't call add_process_read_fd for process-related file descriptors.
Diffstat (limited to 'src/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index c9bc28510f7..3ff52c37fbd 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -72,7 +72,7 @@ extern BOOL g_b_init_compare_string_w; | |||
| 72 | extern BOOL g_b_init_debug_break_process; | 72 | extern BOOL g_b_init_debug_break_process; |
| 73 | 73 | ||
| 74 | int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, | 74 | int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, |
| 75 | struct timespec *, void *); | 75 | struct timespec *, sigset_t *); |
| 76 | 76 | ||
| 77 | /* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */ | 77 | /* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */ |
| 78 | static signal_handler sig_handlers[NSIG]; | 78 | static signal_handler sig_handlers[NSIG]; |
| @@ -2096,7 +2096,7 @@ extern int proc_buffered_char[]; | |||
| 2096 | 2096 | ||
| 2097 | int | 2097 | int |
| 2098 | sys_select (int nfds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds, | 2098 | sys_select (int nfds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds, |
| 2099 | struct timespec *timeout, void *ignored) | 2099 | struct timespec *timeout, sigset_t *ignored) |
| 2100 | { | 2100 | { |
| 2101 | SELECT_TYPE orfds, owfds; | 2101 | SELECT_TYPE orfds, owfds; |
| 2102 | DWORD timeout_ms, start_time; | 2102 | DWORD timeout_ms, start_time; |