delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/24/06:05:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F2E26385B834
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mark AT maxrnd DOT com
Subject: Re: bug report: shell expansion in argv[] processing sensitive to
LANG, e.g. "ls: cannot access '*.pdf': No such file or directory", but works
okay in bash
To: Thomas Wolff <towo AT towo DOT net>, cygwin AT cygwin DOT com
References: <DM5PR13MB0876FCF9357D4881E9A4476FCBF10 AT DM5PR13MB0876 DOT namprd13 DOT prod DOT outlook DOT com>
<dccd5d06-0edf-7a28-7640-b33e8864e464 AT towo DOT net>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <cb2019a2-fe84-02a4-d6dc-309cedbe7746@maxrnd.com>
Date: Tue, 24 Mar 2020 02:27:53 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <dccd5d06-0edf-7a28-7640-b33e8864e464@towo.net>
X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE,
TXREP 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> Maybe it can simply be fixed by changing the order of setting up locale stuff 
> and applying the expansion in cygwin?
> (I would look into the code if I had a clue where to find the respective things.)

I would guess dcrt0.cc, the Cygwin DLL runtime initialization.

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