delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/14/09:17:03

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

On Sat, Nov 14, 1998 at 05:09:04PM +0100, Corinna Vinschen wrote:
>Hello,
>
>I have found the error, which leads to the incorrect dup() handling
>in tcsh. The member variable hinfo::first_fd_for_open is set to 3
>in the constructor of hinfo, which give the incorrect later results.
>Initializing to 0 let it work as defined in the standards.

That's not the error.  The = 3 is there for a reason.  It's not
just a coincidence that this starts out at 3.

cgf

- Raw text -


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