X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9D3E388E804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1591850817; bh=wUtAeV4eUowC7rNI6htT3gWxwekOoCKpe3fr1nWzQ6k=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=VkrUcGEv7pL/QOw2WZOM6iHl+ps9bigdMdAPYFB6FnGKJfsu7MUO7cK/U2morVboE IXoiileo7XycNBRW5iDFxCQut/fONLW/HTchbn2vDy4aBiRW2bMbQfxFBt6nJ+cvtC bmTfUjUbtcZPThQHEFGY9mZzCgTmWkbh3XeNcXjQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 99D76383E814 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fX4IIBSNfphFyz1ij0fnrBEEjyIc0sNGE8YJhd+E4NI=; b=EvCXQi7BIn/WKS4gZORM4FfJSmmIFX8+T88tsgQMOVeZ2YZmPcVIMTVX97+K3aoQzu ypbHvlVfvBKppqAyJqHmbTt+/6QMuNSqtTnTmrv9bF46xgHSr2Nyh50mG28FoeajCLPA 81jFnfLa34gt/WNe4e6BJaGIpJICTrLBLhxt/b35YkaDOARSDzyh3Vz2LToF9Py7O50d +Wh+aNLu8q1GkHx+iZEkztUXGgmQA7Lq2VGyOavfMKISM/xmKpD8igwcCP0HSgmnnAzV eb+k7m2sBXTy/KZr28DHajObUUCu+frVI6+4yK8wiA9epE9JEU4mE2q8brJA+I8PA09a huFA== X-Gm-Message-State: AOAM530Alc4ZLfZ+Tyyhz137ZKA9WDAKa0fcXnJJK/bZz+qzW3YRqDbD OHeWOyuxk/hakRDPeEUtkP3UIIb2pxs= X-Google-Smtp-Source: ABdhPJzuerZpTxBww32SVvAuxCewcC/OJun77qIar3u+TzTBnFChzn+rthzqw3IoyICng+uYnBZ3cw== X-Received: by 2002:adf:b60b:: with SMTP id f11mr7256312wre.7.1591850813242; Wed, 10 Jun 2020 21:46:53 -0700 (PDT) Subject: Re: [bug?] Spawning cygwin32 program from cygwin64 messes up backslashes To: cygwin AT cygwin DOT com References: Message-ID: <1d3efe20-fa56-52c2-788c-df9b1502304f@gmail.com> Date: Thu, 11 Jun 2020 06:46:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 AT cygwin DOT 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 11.06.2020 03:05, Mingye Wang via Cygwin wrote: > Hi, > > The following test case script fails under cygwin64: > > ``` > out32=$(/cygdrive/c/cygwin/bin/echo.exe 'a\\ b') > out64=$(/cygdrive/c/cygwin64/bin/echo.exe 'a\ b') > test "$out32" = "$out64" > ``` > > In other words, while the correct (by-argv-memory) result is `a\\ b`, > cygwin32 gives `a\ b` as output instead. The test case works fine when > CYGWIN=noglob is set, but then `echo.exe 'a\" b'` fails miserably. > I miss to see why running a 32bit Cygwin from a 64 bit instance makes any sense and it will be worth to spend any time on handling this borderline case . -- 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