delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/04/03:52:58

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=V/7MzmgmFDqCQy3L
G3MA6ZRho1jekZ67E039TtcVMQOjlNRIKnBm1TeDjF3DF0WXkWmMbAG7Nc8Ul9Ru
LhOrmbUJ97k75++9wrAeAU/Be6RfFjZXFx4KVWpgqx1uAMmHScOku9QaiNsj+weK
Wy/RfQ7sdICaCfEx0Hx5/GC87Yc=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=JJJDjYNRe282ihNkqJ7c3b
LouYM=; b=U5QZPn8GY0q9bLZ2ndrZ93PuNBBfCtvgeue3Wt1a1GvxaRiSt1OpuL
/qHaC411Rs71u1i3wL68rrq3pCxlNKLvo91Q+coqtzVTAGD03IytcdfXrEThUwb2
EO/GRNYAzCLTYqpO2Kfz6NLkWEeo9Gd2T0B7eFj60YtCmDhSVGP4A=
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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:0aebd09, H*f:sk:0aebd09, Marco
X-HELO: mail-wm0-f42.google.com
X-Received: by 10.194.116.170 with SMTP id jx10mr93089053wjb.166.1451897558944; Mon, 04 Jan 2016 00:52:38 -0800 (PST)
Subject: Re: Pipes Again -- a simple test case
To: cygwin AT cygwin DOT com
References: <0aebd09993901f3ef3ff728d162952cd AT xs4all DOT nl>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <568A32BE.4080101@gmail.com>
Date: Mon, 4 Jan 2016 09:52:14 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <0aebd09993901f3ef3ff728d162952cd@xs4all.nl>
X-IsSubscribed: yes

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
>
> Btw, I am using W7 prof.; Cygwin-32 and Cygwin-64; 2.3.1 and 2.4.0
>
> =====
>
> The code for the STC is basically as follows:

in general a STC should be complete and attached as file.

I know where you took errExit and displayStatInfo, but
it is anyway a extra effort time consuming for the others.

Regards
Marco

--
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

- Raw text -


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