www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/06/07/21:52:11

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5581qAU2058671
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5581qAU2058671
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=DxqPOs7U
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F27BC385843F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1749347529;
bh=Svm8FW7yqAmKFtPreJjESkunBZgRDZXG10KRxH/q86Y=;
h=Date:To:cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=DxqPOs7UDn7RxExDEpONgRSo0c8JefndxvxexgHjEA2Rrk+M2W2d9J/BwJkS331Pa
DHJgg6SMYOfL9ckCadP+rpldqeOVkFUTcFHXVwhd3vbuWVB8Ui+pYDx9va76UKYq0z
aqSd0pTY5WY0fEU2V8Hfh2OVZoI98syMwNRvPeiQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDBB43858C2C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EDBB43858C2C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749347459; cv=none;
b=WEUXoUvCSwm7Iu57pvl1IyarVoZmoGPHlDPFQqtDtHkR4hKTpT0eIE9RYD/Lwt49VebpUUnqGN9Zzaj24NvdCMaY1CTL0BTK2bfly6efigMD4KicljZipj+ZieoMMyX57+K/GzKxUlZrDIqfYiuifQq6NDp2+rX/vWitjd+fHcQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1749347459; c=relaxed/simple;
bh=EW9yK4vJ+MYHxcoNExUmMXPmTu6PlzIYdtrUsVJ82uY=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=avZPPNu7yOoGbTG1C38EiQ4pJ4zhGW9mSRnyUUHjWpTUOpAgZHMuEWwtp8rptyqzYDRJSiNopPexxvLChn0bedT5Pr1ozJo7Yuv4try6AX1bAsQxxGg/B6G/t8AxTVANMayTjIn2uI5x+9vWGN8Pcf2IXnIQLEhtQPt3fV3b/bY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDBB43858C2C
Date: Sat, 7 Jun 2025 18:50:58 -0700 (PDT)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: RFE: getconf(1)/|pathconf()| support for |_PC_CASE_SENSITIVE| ...
In-Reply-To: <CAKAoaQnb-YoY4CEcBdZ7kWKdqUm-Lu-_SoK8s4vrFvB2zSBDfA@mail.gmail.com>
Message-ID: <85a6c084-c523-769a-2e42-d7e8b0e170d9@jdrake.com>
References: <CAKAoaQ=YrVo4uB0Cqq5hnY1D3N0CjFyjjr1FJ__q9mteeN6zcQ AT mail DOT gmail DOT com>
<02c18d26-a277-46d6-b25b-b5b216e8daaa AT SystematicSW DOT ab DOT ca>
<CAKAoaQnb-YoY4CEcBdZ7kWKdqUm-Lu-_SoK8s4vrFvB2zSBDfA AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sun, 8 Jun 2025, Roland Mainz via Cygwin wrote:

> I know... but the request is for portable applications and scripts,
> which either use |pathconf(...,_PC_CASE_SENSITIVE)| or /bin/getconf to
> probe this information. Both APIs are not supported by Cygwin yet...

Isn't it?

https://github.com/cygwin/cygwin/blob/55e5d9bf0f76f2f270ee8a3cef1da0bc646f72bf/winsup/cygwin/fhandler/base.cc#L1944-L1945

https://sourceware.org/pipermail/cygwin-patches/2016q4/008626.html

Comment from emacs source:
     Use pathconf with _PC_CASE_INSENSITIVE or _PC_CASE_SENSITIVE if
     those flags are available.  As of this writing (2019-09-15),
     Cygwin is the only platform known to support the former (starting
     with Cygwin-2.6.1), and macOS is the only platform known to
     support the latter.  */

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