Re: [PATCH]: fix poll module under win32.

2007-01-22 Thread Paolo Bonzini
Applied, thanks. Paolo

[PATCH]: fix poll module under win32.

2007-01-18 Thread Yoann Vandoorselaere
Hi, The poll module fail under Win32 because of the check for FD_SETSIZE. Windows use a linear array of sockets (of size FD_SETSIZE). The descriptor value is not used to address the array. Attached is a patch that fixe this issue. Regards, -- Yoann Vandoorselaere | Responsable R&D / CTO | Prel

Re: [PATCH]: Fix poll module under Win32

2007-01-16 Thread Yoann Vandoorselaere
Le mardi 16 janvier 2007 à 12:44 +0100, Bruno Haible a écrit : > Yoann Vandoorselaere wrote: > > - gnulib-sys_socket-error.diff: > > Under MinGW, map error code required by the poll module (namely > > ESHUTDOWN, ECONNRESET, ECONNABORTED, ENETRESET, ENOTCONN), plus some > > other useful error code.

Re: [PATCH]: Fix poll module under Win32

2007-01-16 Thread Paolo Bonzini
Yoann Vandoorselaere wrote: Hi, Attached are two small patch fixing poll module compilation under MinGW: - gnulib-poll-depend.diff: Add a dependencies on the sys_select module, fixing inclusion error under MinGW. I committed this part. Paolo

Re: [PATCH]: Fix poll module under Win32

2007-01-16 Thread Bruno Haible
Yoann Vandoorselaere wrote: > - gnulib-poll-depend.diff: > Add a dependencies on the sys_select module, fixing inclusion error > under MinGW. Looks OK. > - gnulib-sys_socket-error.diff: > Under MinGW, map error code required by the poll module (namely > ESHUTDOWN, ECONNRESET, ECONNABORTED, ENETR

[PATCH]: Fix poll module under Win32

2007-01-16 Thread Yoann Vandoorselaere
Hi, Attached are two small patch fixing poll module compilation under MinGW: - gnulib-poll-depend.diff: Add a dependencies on the sys_select module, fixing inclusion error under MinGW. - gnulib-sys_socket-error.diff: Under MinGW, map error code required by the poll module (namely ESHUTDOWN, ECO