X-Recipient: archive-cygwin@delorie.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=FpW1ceo7a6vqQkoM
	c6lzsSEJUBGPmns16pL2LVRlUXUAJ1O7F8F/vZOsi3WWttzYeniwZXwC6IuWqq2h
	TQSkB2g0pzZXmtLdfMdg4AGHmMJbBno2kKIpwK5+QtwCB7CEXoSMtHRmtmwoiYpN
	MrtykqRKIMJ29ycQkFwYJasxylA=
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=1ROCT5reP4X05HXABS3qZh
	OEdiY=; b=yzk0cdSWJQggykTCylQ8j9lxAC6R/h/u/eJECYpZr9tkoCuQiLy2od
	ei3Qrzyt/1pYRI2hmziFkliLAzcxAtPXAYowDOefnDFyHwPId1ULw8n+qzsH3f3b
	3oNvuj0yrOEpzYAYF0xCs7egFSwlGvuBM9GefK+BrJ389LNU6VM78=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 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:CAPJ9Yc, H*f:sk:CAPJ9Yc, HContent-Transfer-Encoding:8bit
X-HELO: mail-wm0-f53.google.com
X-Received: by 10.28.184.76 with SMTP id i73mr39201297wmf.43.1451112148505;        Fri, 25 Dec 2015 22:42:28 -0800 (PST)
Subject: Re: cmp (or echo) bug?
To: cygwin@cygwin.com
References: <CAPJ9Yc9uFnFSFPkYxJj2A87EzZVNrWx2mN5Pq6SxCwpf_78QVQ@mail.gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <567E36C5.3060907@gmail.com>
Date: Sat, 26 Dec 2015 07:42:13 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CAPJ9Yc9uFnFSFPkYxJj2A87EzZVNrWx2mN5Pq6SxCwpf_78QVQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 25/12/2015 22:32, David Balažic wrote:
> Hi!
>
> In Cygwin terminal (bash) I typed:
>
> cmp  <(echo echo1)  <(echo echo2)

only on 32bit, on 64 I see

$ cmp  <(echo echo1)  <(echo echo2)
/dev/fd/63 /dev/fd/62 differ: byte 5, line 1

I suspect a timing issue, and the result is not well defined


> This does not print anything.
> Not even with -b.
>
> On Linux (Ubuntu 12.04 in VMWare) it reports that the inputs are different.
>
> Bug?
> Or am I missing something?
>
> I just updated to latest version of cygwin, to be sure.
> 32 bit version.
> On Windows 8.1 Pro x64 (all updates)
>
> Regards,
> David
>

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

