delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/15/03:46:52

From: B DOT Chitty AT nortel DOT co DOT uk (Bryan Chitty)
Subject: select on pipes and stdin
15 Jan 1998 03:46:52 -0800 :
Message-ID: <Pine.HPP.3.95.980113180824.12569f-100000.cygnus.gnu-win32@bharh535.europe.nortel.com>
Reply-To: b DOT chitty AT nortel DOT co DOT uk
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi,

I'm porting some distributed software from Unix to NT and am having
problems with select on pipes.

The problem regards select removing the 1st char from my pipe, so for
example "hello" on stdin comes back to my application as "ello".

I've looked through the mail archve and found this question asked in July
1997, though am unable to find any answer to the question.

Can anyone shed any light on this subject - ie. is it a known bug, there's
a known patch, there's something i'm doing wrong...

BTW i'm using b18 on NT4.

I've included the mail message below...

Thanks for any help on the subject...

Bryan.

----------------------------------------------------------------------------
Bryan Chitty. Distributed Systems, Nortel plc, Harlow Laboratories, UK.
MailTo:bchitty AT nortel DOT co DOT uk ESN:742 2294 Tel:+44 (0)1279 402294/403930(fax)

This message may contain information proprietary to Nortel. Any unauthorised
disclosure, copying or distribution of its contents is strictly prohibited.

--- Forwarded Message ---

R\|diger Dehmel (de AT lmnet DOT de)
Thu, 17 Jul 1997 16:44:02 +0200 

       Messages sorted by: [ date ][ thread ][ subject ][ author ] 
       Next message: Kim Knuttila: "Re: Section attributes from ld" 
       Previous message: Bruce J. Moore: "Mount text=binary AND Mount
text!=binary broken" 

Hello,

I try select() read on a pipe or on stdin, but both fails.

After select() on stdin returns, I read from stdin, but the 1. char is
missing!

selct() on a pipe always returns ready!

I use version b18 on NT4.0.

Has anyone try this?

Thank you
----
R|diger Dehmel Luther & Maelzer GmbH
E-Mail: Sendto:de AT lmnet DOT de

-

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

- Raw text -


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