cygwin_bind bug.

Chris Faylor cgf@cygnus.com
Thu Nov 25 07:50:00 GMT 1999


On Thu, Nov 25, 1999 at 10:42:07AM +0100, Corinna Vinschen wrote:
>Chris Faylor wrote:
>> 
>> On Thu, Nov 25, 1999 at 11:28:38AM +0900, Kazuhiro Fujieda wrote:
>> >>>> On Wed, 24 Nov 1999 20:56:52 -0500
>> >>>> Chris Faylor <cgf@cygnus.com> said:
>> >
>> >> In that case, why even use an intermediate variable?  Why not just check
>> >> the results from bind and getsockname directly?
>> >[...]
>
>Ooops, I see. It's my fault. I have erased one line in Sergeys code
>that sets res to -1. The original code sets res to -1 before calling
>_open.
>
>Sorry guys.
>
>Patch (according to Sergeys orig. code):

Take a look at the recent snapshot patch.  I've fixed this in a different
way.  Hopefully, it is equivalent.

cgf


More information about the Cygwin-developers mailing list