delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/14/19:32:51

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: Re: B20 patch [was Re: Error in dup???]
14 Nov 1998 19:32:51 -0800 :
Message-ID: <364E4330.CC1730CF.cygnus.cygwin32.developers@cityweb.de>
References: <19981114041054 DOT 582 DOT rocketmail AT send1b DOT yahoomail DOT com>
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>, cygwin32-developers AT cygnus DOT com

Hello Chris,

your patch fixes the problem, indeed. Thank you.

Would you be so kind, to explain, _why_ first_fd_for_open is
initialized to 3? Because I saw no problem, when I initialized
it to 0 (anything works fine!), I haven't understand it's sense.

Corinna

Christopher Faylor wrote:
> 
> Does this fix the problem, perhaps?
> [...] 
> Index: hinfo.cc
> ===================================================================
> RCS file: /cvs/cvsfiles/devo/winsup/hinfo.cc,v
> retrieving revision 1.65
> diff -u -p -r1.65 hinfo.cc
> --- hinfo.cc    1998/10/23 07:23:54     1.65
> +++ hinfo.cc    1998/11/14 16:57:49
> @@ -500,6 +500,7 @@ hinfo::de_linearize_fd_array (LPBYTE buf
>        buf += len;
>        debug_printf ("len %d", buf - obuf);
>      }
> +  first_fd_for_open = 0;
>    return buf;
>  }
>

- Raw text -


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