Applied, thanks.
Paolo
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
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.
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
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
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