bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: Fix poll module under Win32


From: Yoann Vandoorselaere
Subject: Re: [PATCH]: Fix poll module under Win32
Date: Tue, 16 Jan 2007 13:24:24 +0100

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.
> 
> The conditional should be
>   #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
> rather than
>   #if defined _WIN32 || defined __WIN32__
> because the users of <sys/socket.h> use functions which, under Cygwin,
> come from cygwin.dll, rather than from the native Woe32 DLLs.

[...]

Thanks for letting me know, here is an updated patch.


-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58                  Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com

Attachment: gnulib-sys_socket-error.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]