delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/28/02:34:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: pipe data form windows program to cygwin program
From: bertrand marquis <bertrand DOT marquis AT sysgo DOT com>
To: Bob Byrnes <byrnes AT curl DOT com>
Cc: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <20041027193737.BAA5AE55A@wildcard.curl.com>
References: <20041027193737 DOT BAA5AE55A AT wildcard DOT curl DOT com>
Organization: SYSGO AG
Message-Id: <1098945308.4204.1.camel@bma.sysgo.com>
Mime-Version: 1.0
Date: 28 Oct 2004 08:35:08 +0200
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on donald.sysgo.com
X-Spam-Level:
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.63
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.28.0.12; VDF: 6.28.0.42; host: mailgate.sysgo.de)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i9S6YLtR015982

Le mer 27/10/2004 à 21:37, Bob Byrnes a écrit :
> > I'm writing a program which need to send data to a cygwin program using
> > a pipe on the stdin (actually data to compress using gzip).
> > 
> > All is working well but at the end of the program when i close the pipe
> > it seems that gzip doesn't see that the pipe has been closed and so it
> > stay open.
> 
> Are you *sure* that you have closed *all* of the write handles to the pipe?
> If any write handles remain open, then EOF won't be delivered to the
> read side of the pipe.
> 


i think i did, but even if i didn't the fact that the program exit
normally will close all open handles under windows,won't it ?



> > I kind of think there must be something with windows<->cygwin EOF but i
> > can't find out what.
> > 
> > Is anyone has an idea ?
> 
> If you can provide a (very) simple test case that exhibits allegedly
> incorrect behavior, that would be helpful.
> 

i will try to do this as soon as possible, thanks for help

bertrand

> --
> Bob
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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