delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/11/25/10:50:46

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Thu, 25 Nov 1999 10:50:27 -0500
From: Chris Faylor <cgf AT cygnus DOT com>
To: Corinna Vinschen <corinna AT vinschen DOT de>
Cc: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>,
cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: cygwin_bind bug.
Message-ID: <19991125105027.A746@cygnus.com>
Mail-Followup-To: Corinna Vinschen <corinna AT vinschen DOT de>,
Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>,
cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1s903npgry DOT fsf AT jaist DOT ac DOT jp> <19991124192413 DOT A12159 AT cygnus DOT com> <s1s4sebpcyz DOT fsf AT jaist DOT ac DOT jp> <19991124205652 DOT B15777 AT cygnus DOT com> <s1s1z9fpand DOT fsf AT jaist DOT ac DOT jp> <19991124213743 DOT A16356 AT cygnus DOT com> <383D046F DOT FF903EF8 AT vinschen DOT de>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <383D046F.FF903EF8@vinschen.de>; from corinna@vinschen.de on Thu, Nov 25, 1999 at 10:42:07AM +0100

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 AT cygnus DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019