X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0D8673851C24
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=ncsu.edu
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=josh_thompson@ncsu.edu
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncsu.edu; s=google;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=2//9KFYQdVX7fm9iYfA2yLBQux0J6R2c1LQUly6i8L8=;
 b=MVPJSzCn+yrstg70UfR+PZpw8vMfqdMq2/MKPU1zrqjU8n4pTtGd9FOZ+RsACb/6wV
 luHo3+h4EHsbiR5r9xTxuV0rFWUrWH5pi6dnEEbUZxqP5GkETbl9bHfX/qjPlx2cgLj+
 I1cBIcm6TXg6ETBXDJCYBi9zG5Cq3hlOYFyK1q/CJI9NWB+VeUitCwVQ+tDrcouvm1+p
 xvUFKaZl+Wi4FlFpL02+JaYJAU6U0+skEHV+NKKSF+tZHq4+BU3YF0Nq+5bqpZMo3KF7
 ENSQwbzTIWt5eZYaxU5km9hGMIDGt8l6Om88zMZfQE8ojBNu5odhh6Zgd1VtoNWlWjuk
 WKRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=2//9KFYQdVX7fm9iYfA2yLBQux0J6R2c1LQUly6i8L8=;
 b=UZI1SFm9lob7xTOflVzVEkhl2+9wpKnordPZdSL07/f8xkuPAkAeD1U36Cqk73FJ0e
 XuhOqeVeojAb5Qz9mLBNRa3kV/RIvcEFXSHJqSK6R5iwG08Wb+7rhN0T1oWhQa1HXWJY
 i5xXZLlUbiviVxebHJfS4HMAncWwshkQDiqIFQqBZjflDcZWnDec2ztIcI2662/BKas0
 DW5NmSCxRiigAQalF7lDWq+TDuuGaBz3Dwjc4VGHJ3D6Xm3LZQv/iDemalbTqXl8BJeh
 gTAUjcWnzR9fZGnS+eCYrbJUzvMKNe6NTIcpnJIW9sTG7elLXScmu5sysOO614WEBdw4
 p+Tw==
X-Gm-Message-State: AOAM531OAdhUGEQc2pyA+T8ImcTO8pB3muA0bY//h6fj8u6jwa5RWBcb
 yJZivpXdlzQe23Y5nBBSDmR96g==
X-Google-Smtp-Source: ABdhPJwdWBnIlXiU3Rd7tmid6ubYFwKgokyXjz5hQoST8CCUYlf5u+XlbPw0wT1bc1yxSc+1BUaipQ==
X-Received: by 2002:ac8:22cd:: with SMTP id g13mr19772904qta.100.1593019589283; 
 Wed, 24 Jun 2020 10:26:29 -0700 (PDT)
From: Josh Thompson <josh_thompson@ncsu.edu>
To: Ken Brown <kbrown@cornell.edu>
Subject: Re: change in handling quotes in cygwin package from 3.1.4-1 to
 3.1.5-1
Date: Wed, 24 Jun 2020 13:26:28 -0400
Message-ID: <2825592.AUrzYYFGSl@dvr>
In-Reply-To: <cd0e8a9f-6d61-5813-b2ae-c6fdbf1d9ed7@cornell.edu>
References: <3394273.JRUgpOGd2y@dvr>
 <cd0e8a9f-6d61-5813-b2ae-c6fdbf1d9ed7@cornell.edu>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS,
 TVD_PH_BODY_ACCOUNTS_PRE autolearn=no 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 <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: cygwin@cygwin.com, dev@vcl.apache.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, June 22, 2020 4:11:35 PM EDT Ken Brown wrote:
> On 6/15/2020 12:21 PM, Josh Thompson wrote:
> > We recently noticed a change in double quote (") handling that is causing
> > a
> 
> > command we issue to fail.  The command is:
> [...]
> 
> > 3.1.4:
> > $ cmd.exe /c "echo \""
> > "
> > 
> > 3.1.5:
> > $ cmd.exe /c "echo \""
> > \"
> 
> I can confirm this change in behavior, and I thought it would be completely
> trivial to do a bisection to find the commit that caused it.  Unfortunately,
> it seems that the issue is somehow tied up with the fact that the toolchain
> used for building the cygwin package was upgraded shortly after the release
> of 3.1.4.
> 
> An attempt to rebuild 3.1.4 with the current toolchain fails because of some
> gcc/binutils changes.  So I applied the attached patches, which were
> applied to the Cygwin git master shortly after the release of 3.1.4, in
> order to make the build succeed.
> 
> 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.
> 
> I'm stumped.
> 
> Ken

Hi Ken,

Thanks for your testing on this and for following up.  How strange - I totally 
wouldn't have expected a toolchain upgrade to have changed how quotes get 
handled.

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.

Thanks,
Josh
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found on pool.sks-keyservers.net

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXvOMxAAKCRBX8tBw1209
A/ZeAJ0c+FrRV+Sx5xEq5EbTGrkqrRKjggCeLmEG3K46Rx+WQ9Vhu27iPDnrFv4=
=OSZ9
-----END PGP SIGNATURE-----



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