diff options
| author | Eli Zaretskii | 2016-12-07 19:08:24 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-07 19:08:24 +0200 |
| commit | 16ac7c0fc91b5eb09f2a129fc2c01281369f897a (patch) | |
| tree | eda19beb88a398d83bb1c26bad45bad89204b17e /src | |
| parent | 8ad92413b9349613f9815bd0aaf523896a84b479 (diff) | |
| download | emacs-16ac7c0fc91b5eb09f2a129fc2c01281369f897a.tar.gz emacs-16ac7c0fc91b5eb09f2a129fc2c01281369f897a.zip | |
Minimize spurious diffs from master.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 2 | ||||
| -rw-r--r-- | src/w32.h | 1 | ||||
| -rw-r--r-- | src/w32proc.c | 8 |
3 files changed, 6 insertions, 5 deletions
| @@ -272,7 +272,7 @@ static BOOL WINAPI revert_to_self (void); | |||
| 272 | static int sys_access (const char *, int); | 272 | static int sys_access (const char *, int); |
| 273 | extern void *e_malloc (size_t); | 273 | extern void *e_malloc (size_t); |
| 274 | extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, | 274 | extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, |
| 275 | struct timespec *, sigset_t *); | 275 | struct timespec *, void *); |
| 276 | extern int sys_dup (int); | 276 | extern int sys_dup (int); |
| 277 | 277 | ||
| 278 | 278 | ||
| @@ -25,6 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 25 | 25 | ||
| 26 | #include <windows.h> | 26 | #include <windows.h> |
| 27 | 27 | ||
| 28 | |||
| 28 | /* File descriptor set emulation. */ | 29 | /* File descriptor set emulation. */ |
| 29 | 30 | ||
| 30 | /* MSVC runtime library has limit of 64 descriptors by default */ | 31 | /* MSVC runtime library has limit of 64 descriptors by default */ |
diff --git a/src/w32proc.c b/src/w32proc.c index c4f1f693741..c9bc28510f7 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 *, sigset_t *); | 75 | struct timespec *, void *); |
| 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]; |
| @@ -849,8 +849,8 @@ alarm (int seconds) | |||
| 849 | stream is terminated, terminates the reader thread as part of | 849 | stream is terminated, terminates the reader thread as part of |
| 850 | deleting the child_process object. | 850 | deleting the child_process object. |
| 851 | 851 | ||
| 852 | The sys_select function emulates the Posix 'pselect' function; it | 852 | The sys_select function emulates the Posix 'pselect' functionality; |
| 853 | is needed because the Windows 'select' function supports only | 853 | it is needed because the Windows 'select' function supports only |
| 854 | network sockets, while Emacs expects 'pselect' to work for any file | 854 | network sockets, while Emacs expects 'pselect' to work for any file |
| 855 | descriptor, including pipes and serial streams. | 855 | descriptor, including pipes and serial streams. |
| 856 | 856 | ||
| @@ -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, sigset_t *ignored) | 2099 | struct timespec *timeout, void *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; |