delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/26/01:42:49

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=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 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.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 AT cygwin DOT com
References: <CAPJ9Yc9uFnFSFPkYxJj2A87EzZVNrWx2mN5Pq6SxCwpf_78QVQ AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT 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>
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

- Raw text -


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