* nsterm.m (fd_handler:): FD_ZERO fds.
Fixes: debbugs:13103
This commit is contained in:
parent
cb576b5cd0
commit
a06ae17da2
2 changed files with 6 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
|||
2012-12-08 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103).
|
||||
|
||||
2012-12-08 Fabrice Popineau <fabrice.popineau@gmail.com>
|
||||
|
||||
* w32fns.c (cache_system_info): Cast sysinfo_cache.dwPageSize to
|
||||
DWORD_PTR, for compatibility with 64-bit builds.
|
||||
|
||||
* w32.c (_PROCESS_MEMORY_COUNTERS_EX):
|
||||
* w32.c (_PROCESS_MEMORY_COUNTERS_EX):
|
||||
(GetProcessWorkingSetSize_Proc, get_process_working_set_size)
|
||||
(system_process_attributes): Use SIZE_T rather than DWORD, for
|
||||
compatibility with 64-bit builds.
|
||||
|
|
|
@ -4566,7 +4566,7 @@ - (void)fd_handler:(id)unused
|
|||
if (waiting)
|
||||
{
|
||||
SELECT_TYPE fds;
|
||||
|
||||
FD_ZERO (&fds);
|
||||
FD_SET (selfds[0], &fds);
|
||||
result = select (selfds[0]+1, &fds, NULL, NULL, NULL);
|
||||
if (result > 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue