X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D85D93861843
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1610959875;
	bh=xflLeJzSlqyNqY1u39kfV+5xnoScMi+rfNp7Th4IwAM=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=lKssn36VxDPmooza15n07ci6wqrBNgPLKLtCOhXGmxZDlXCEHxfRL1hPzYg6buC4b
	 GCthJTLJ1ukBGfQuC5PhXTkvn/WLZj7Q01m0znagVZt0waTU3W/y9ZKAAN65Uhpe0n
	 lUyy+iXbZ877FHqOK2oPdcRQVNNT2GbribFV6EHg=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F1BCC3858D33
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:subject:message-id:mime-version
 :content-transfer-encoding;
 bh=SL028g2PzWb2Jbw33VgCuSOglnrR/0U1n4zlo/aOjo8=;
 b=Uca0wocyUgrEOKx1wZUfkFqSZKJzrNWSU/zL0CeeayuFKjRM4020nu3XrZiV5WBClW
 MQXgiX7qNwMTsR8PCqr07DnvOpgoj7/5e/9GvgFQ7Skw5QrbuficMfx7PVZGUh4sB+NW
 lVLrhq1tgr3Toqe8xzOc16I+6gEPZ3NOIy13eYZcemzS/vcjIEPtGwKzxsaUdCU4bjxc
 tiv+wuG1RGwQEvxcnM+XLdqJXmXwtvqbVIpc6Ix+LUepvMqeCoX11oC90HNADxns4ij+
 hvU1hnz0uMpeG1P7bQw6D4e7R8ix3kdxRsYWwQodqcxs56l+hba9sr4NluO7vAHgBAw0
 YV3Q==
X-Gm-Message-State: AOAM531hcEl926ZlGX6yn7lecnC2pYI/DDzVMJs/wf3O2T0SpUd+6EnD
 IZK6b4PUOyIk0xxS5a548MYJEZ7RhZ4=
X-Google-Smtp-Source: ABdhPJxKcBW/W8wXPHiH/7ilbCKtDwPu+UvLuA6hDd3jl9X5FHKjaJFWya+PACnCnsaJaHq2SkgkYA==
X-Received: by 2002:a63:65c5:: with SMTP id
 z188mr24454575pgb.332.1610959870886; 
 Mon, 18 Jan 2021 00:51:10 -0800 (PST)
Date: Mon, 18 Jan 2021 17:51:10 +0900
To: cygwin@cygwin.com
Subject: Executables fail to run when they are named as 'setlang.exe'
Message-Id: <20210118175108.00E0.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.75.02 [ja]
X-Antivirus: Avast (VPS 210117-4, 2021/01/18), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-1.9 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@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin@cygwin.com>
Reply-To: Lemures Lemniscati <lemures.lemniscati@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi

I've noticed that executables fail to run when they are named as
'setlang.exe'.

Is this a known problem, or something related to BLODA ?


* Example 1) This will output 'no'.

```
cp /usr/bin/ls setlang
./setlang && echo ok || echo no
```


* Example 2) This will output 'ok' and 'no'.

```
echo "int main () {}" > z.c
gcc z.c
cp a setlang
./a && echo ok || echo no
./setlang && echo ok || echo no
```

In my environment, `uname -srvmo` is:
CYGWIN_NT-10.0 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin


Regards,

Lem

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