From: sos@prospect.com.ru (Sergey Okhapkin)
Subject: RE: select & pipe does not work!
16 May 1997 17:07:47 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <01BC6268.440B66D0.cygnus.gnu-win32@sos>
Original-To: "gnu-win32@cygnus.com" <gnu-win32@cygnus.com>,
        "'Peter.Eggimann@mgb.ch'" <Peter.Eggimann@mgb.ch>
Original-Cc: "'Geoffrey Noer'" <noer@cygnus.com>
Encoding: 15 TEXT
Original-Sender: owner-gnu-win32@cygnus.com

Peter.Eggimann@mgb.ch wrote:
> Hi,
> I encountered a problem while porting some software. The select call
> (waiting for a pipe) returns immediate even thougt there is no data
> available from the pipe.

Looks like a cygwin bug. Pipes are handled with 
fhandler_base:fhandler_disk_file class, whose member function 
always_read_ready() returns 1 (fhandler.h). We need a separate 
fhandler_pipe class...

--
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
