www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/19/05:41:38

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51JAfb9k3898673
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51JAfb9k3898673
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=vorTpUkS
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 028083858401
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1739961697;
bh=TkSu0bHMdXthuz1AG3MbiEZUJnhrVQ11qi1n7JNZ6eE=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=vorTpUkSOM7nGHgMGkH35Rlxy0nibjteBIFIO3wYhTND95jYIeVFBiWOVHWogKJ7f
TT76lkamExzqtwcszUjGswYYj9ZicJi2zwE2uAqixsWiRNJgynBe6CkxQmodTPNqKJ
hUESwAQRbukDB5DKwH7STmdxBXDhYjb8srsIBjxU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACCF63858C50
Date: Wed, 19 Feb 2025 11:40:35 +0100
To: cygwin AT cygwin DOT com
Subject: Re: [CALL FOR TESTING] Cygwin-3.6.0
Message-ID: <Z7W1I8c_ktyJUGhc@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Z7RUxWZt7iN9wxR1 AT calimero DOT vinschen DOT de>
<CAPJSo4VUiGf_cPgPVpZoUpRdNUTqUKxJQXHpguS-KG35GaBwoA AT mail DOT gmail DOT com>
<20250219095439 DOT e74d0e7eae2c1c52b038a744 AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20250219095439.e74d0e7eae2c1c52b038a744@nifty.ne.jp>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Feb 19 09:54, Takashi Yano via Cygwin wrote:
> On Wed, 19 Feb 2025 01:20:59 +0100
> Lionel Cons wrote:
> > Something is very wrong with bash. If I redirect the output of xcopy
> > or icacls into a bash variable, like stdout="$(icacls "$(cygpath -w
> > "$PWD")")", then sometimes I get only a letter in the middle. Very
> > strange
> 
> Thanks for the report. But I cannot reproduce that.
> Doesn't this occur with cygwin 3.5.7?

I can't reproduce this either.  I ran the above command in a tight loop
a couple of thousand times, checking if the content of $stdout was
truncated, but it runs without trouble:

bash$ let i=0; while true; do let i++; stdout=""; stdout="$(icacls "$(cygpath -w "$PWD")")"; num=$(echo "$stdout" | wc -c); echo $i $num; if [ $num -lt 733 ]; then break; fi; done; echo "$i: $stdout"

(the output has an expected length of 733 bytes)


Corinna

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

- Raw text -


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