delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-type | |
:content-transfer-encoding:date:from:to:subject:in-reply-to | |
:references:message-id; q=dns; s=default; b=jNMWuOSQMozUozbaErO7 | |
KcYmUSrzk3KarK5mEu+6gZ4a9FTpDySRcVqvC2w9Kdx9wU1IGR8iRi0LbJHbcBKU | |
u05htYRVj0afaTKrGZF9qCZOpkjMY5ziSJ/VpUUq/QB6rB0r2v3pF9zMcjw6I3SJ | |
Zp7qH0JBAgKV7ycruYmcmBw= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-type | |
:content-transfer-encoding:date:from:to:subject:in-reply-to | |
:references:message-id; s=default; bh=8OF6obtKVZWotzj/T2rrh5ETkl | |
U=; b=VJBcHQC7/D6mic5/tPFXIELFfqJyco6lgQzA0U+i4uNV9dgE0BDfjwd7M3 | |
9ilvZlheixel/7Y9vhgVleiJL8Ao7UrDbFZJbgMtAFeJur93pijvuSOeLoNkJGcL | |
Unbc+XYp76pgA1A6EF9a07kz24QLsvySGs6umH7ptMwarpcaM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=helped, H*F:D*nl, Henri, houder |
X-HELO: | lb2-smtp-cloud2.xs4all.net |
MIME-Version: | 1.0 |
Date: | Fri, 08 Jan 2016 17:12:57 +0100 |
From: | Houder <houder AT xs4all DOT nl> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Pipes Again -- a simple test case |
In-Reply-To: | <20160108151933.GI20447@calimero.vinschen.de> |
References: | <0aebd09993901f3ef3ff728d162952cd AT xs4all DOT nl> <568A32BE DOT 4080101 AT gmail DOT com> <c7ebcc77c3ee94c4a81c48ebbdc81de9 AT xs4all DOT nl> <20160108151933 DOT GI20447 AT calimero DOT vinschen DOT de> |
Message-ID: | <83235106e7ed2fcfde26293d156be51d@xs4all.nl> |
X-Sender: | houder AT xs4all DOT nl (QV0n/x0leoqrOFoUzx/zQg==) |
User-Agent: | XS4ALL Webmail |
X-IsSubscribed: | yes |
On 2016-01-08 16:19, Corinna Vinschen wrote: > On Jan 4 10:24, Houder wrote: >> On 2016-01-04 09:52, Marco Atzeri wrote: >> >On 04/01/2016 09:03, Houder wrote: >> >>Hi Corinna, >> >> >> >>I have been looking for an STC to show why cmp fails on Cygwin (and to >> >>show the >> >>difference between Cygwin and Linux). >> >> >> >>The STC below creates a pipe (pipe() is used), followed by calls to >> >>fstat() and >> >>stat() for both the read end and the write end of the pipe. >> >> >> >>(I also tested with popen()/pclose(): same result) >> >> >> >>Regards, >> >>Henri > > Thanks for the STC. However, given how this stuff works internally, > I have no good solution off the top of my head. I played with various > ideas but to no avail. I add this to my TODO list, but I probably > won't have a quick solution :( > > > Thanks, > Corinna > > > P.S: It would be really helpful if you could stick to the original > thread and simply use "reply-to" once a discussion has started. > It's very confusing having to connect the various threads. > Thanks. Perhaps David B. can be helped by a Cygwin-specific patching to "cmp"? Eric? ... replacing the call to fstat() by a call to stat() ... (as shown in https://cygwin.com/ml/cygwin/2015-12/msg00348.html) By the way, thank you for reporting back to "us" about this. I already feared that a "general" solution would have to wait ... You have already too much on your plate. As a final point, I also tested FIFOs and (unix domain) sockets. FIFOs pass the test, sockets do not. Regards, Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |