cygwin_bind bug.
Chris Faylor
cgf@cygnus.com
Wed Nov 24 17:56:00 GMT 1999
On Thu, Nov 25, 1999 at 10:38:28AM +0900, Kazuhiro Fujieda wrote:
>>>> On Wed, 24 Nov 1999 19:24:13 -0500
>>>> Chris Faylor <cgf@cygnus.com> said:
>
>> Is this patch against the latest snapshot? Corinna has submitted
>> some changes to some of this code recently. It is in the latest
>> snapshot.
>
>Yes, it is against the latest snapshot. Corinna's changes can't
>work properly by this bug. In her changes, cygwin_bind returns 0
>even though _open fails. Because `res' is set to 0 by `getsockname'.
In that case, why even use an intermediate variable? Why not just check
the results from bind and getsockname directly?
cgf
More information about the Cygwin-developers
mailing list