From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) by sourceware.org (Postfix) with ESMTPS id 2D5513861893 for ; Mon, 6 Jul 2020 18:16:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2D5513861893 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com Received: from calimero.vinschen.de ([217.91.18.234]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5Q6n-1jtL8N09OH-001Ta1; Mon, 06 Jul 2020 20:15:50 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 994E0A8087B; Mon, 6 Jul 2020 20:15:49 +0200 (CEST) Date: Mon, 6 Jul 2020 20:15:49 +0200 From: Corinna Vinschen To: Josh Thompson Cc: cygwin@cygwin.com, dev@vcl.apache.org Subject: Re: change in handling quotes in cygwin package from 3.1.4-1 to 3.1.5-1 Message-ID: <20200706181549.GG514059@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: Josh Thompson , cygwin@cygwin.com, dev@vcl.apache.org References: <3394273.JRUgpOGd2y@dvr> <2825592.AUrzYYFGSl@dvr> <20200706112247.GD514059@calimero.vinschen.de> <3197699.QRb4To3urE@dvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3197699.QRb4To3urE@dvr> X-Provags-ID: V03:K1:Fxx439yXyYdW5Mafwctim1PK3eJPqhv49rwxSDj9pi0iVcozEip ZujW5hKwdqZVFp3mRpUhuSzVmplf958lM1C3hrFLmMmg3CiqjxfIafxUAwGrtTkBMDFJBxf vCTXJ8FD9qRg6N/I7BHdwCepYIcIdiSPp1Z9L3aWGKIcWdIJHyk7Hu43vNrTTNdxUTMICAN 831Py3B5qVFTFIfFPQwEg== X-UI-Out-Filterresults: not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NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2020 18:16:01 -0000 On Jul 6 10:14, Josh Thompson wrote: > > > On Monday, June 22, 2020 4:11:35 PM EDT Ken Brown wrote: > > > > On 6/15/2020 12:21 PM, Josh Thompson wrote: > > > > [...] > > > > > 3.1.4: > > > > > $ cmd.exe /c "echo \"" > > > > > " > > > > > > > > > > 3.1.5: > > > > > $ cmd.exe /c "echo \"" > > > > > \" > > > > [...] > > > > After installing the rebuilt 3.1.4, however, the cmd.exe call above > > > > exhibits the "3.1.5" behavior rather than the "3.1.4" behavior. I > > > > can't see anything in the patches that would explain this. I thought > > > > maybe it was a compiler optimization problem, but rebuilding without > > > > optimization doesn't change anything. > > > [...] > > > It sounds like it will be difficult to change the quote behavior. So, > > > we'll work to get VCL updated to handle the new behavior. > > > > I have a fix for that. It's a long standing bug, a buffer overrun, > > which seem to have had no effect pre-3.1.5 only because the older GCC > > toolchain had a subtily different stack allocation strategy. > > > > I uploaded developer snapshots to https://cygwin.com/snapshots/ > > for testing. Please give this a try and report back. > > > > If this fixes your problem, the bug is serious enough to qualify for > > a Cygwin 3.1.6 RSN. > > Thank you for this! I can confirm that replacing cygwin1.dll with the > cygwin1-20200706.dll that you uploaded to the snapshot site fixes the quote > issue. > > I upgraded an installation I had to 3.1.5-1 and tested that I was seeing the > problem by running > > cmd.exe /c "echo \"" > \" > > Next, I downloaded, uncompressed, and overwrote cygwin1.dll with > cygwin1-20200706.dll and tested again > > cmd.exe /c "echo \"" > " > > Great job working through that issue. Thanks for testing and confirming. Expect 3.1.6 in the next couple of days. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer