Date: Wed, 10 Mar 1999 10:43:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Frank Heckenbach cc: djgpp-workers AT delorie DOT com, peter AT gerwinski DOT de Subject: Re: Patch for select() In-Reply-To: <2CE741E0.19990309160234.FOO-AB9.frank@goedel.fjf.gnu.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 9 Mar 1999, Frank Heckenbach wrote: > > Could you please elaborate under what circumstances does this make a > > difference? > > Whenever a disk file is at EOF, like the test program I included. > Unpatched select() returns `not ready', but the patch makes it say > `ready', like it does under Un*x. Yes, but in what real-life situation is this important? I believe you said that you encountered the problem while porting GPC. So where did GPC need to `select' to return `ready' at EOF?