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: Mail-Followup-To: cygwin AT cygwin DOT com References: <20250219095439 DOT e74d0e7eae2c1c52b038a744 AT nifty DOT ne DOT jp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250219095439.e74d0e7eae2c1c52b038a744@nifty.ne.jp> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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