www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/06/08/02:19:45

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5586JiTh246049
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 5586JiTh246049
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=MJZX0Bq3
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09D6E3857712
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1749363583;
bh=Mc31rGZ4aF8CqGnbyl6aGY7dDGnbmPL2Sgv3nnVYlCw=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=MJZX0Bq3lbAnYEZNT/EKy4/px50Z8Hd1a0iS9KLIg/YLQ9V1cBHceZr6jvlCNCDAf
hKiq/8Ci/uf2nlwqJqB2qHAAS5bCGO3WeaVxoKuepH5yzvc2IYmejtaD+EDYmh9saN
yqZXXPaIhX1UUW1rS/lqRhRwcfJ0deawZQxFT2RE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5A573858C2C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A5A573858C2C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749363522; cv=none;
b=barYtGgSEZrluwtQ8R5PidbCEIc5w2/bLgdk26qihhcMHDxfc2cAwDrt38OIVLOXONJsh0oLyuC8ahjPh4squloKju2Upu0PnQwoxnOEMDUXPHrlAs2eH+ydMPoxptM8HEvCo36z4xxLTbSBIdVEoyPcPSK6sfFdYXNqYCU9CZk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1749363522; c=relaxed/simple;
bh=a9SteHDl/R0aTmeHYRXm6kiWI0ATwcOGcAYlYjZ3qNM=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=Sm1FlRA4dK3jj9rlxsGJU2RZGSi+DV9letruGscLIrzPuAk6D8BG8uK3KE5xvJki9p6TXcm/3yDbfvSO81O9R54xD+SoAUgt3CxWotJCuFUP7emH+83+HnjwLvlgV8JxGFA1RICUwoGC7b/Y+fpuOaGLf9MlZs84v9+1heYi8IU=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5A573858C2C
Message-ID: <606031db-b0fc-43ec-bbeb-4a34a001966b@SystematicSW.ab.ca>
Date: Sun, 8 Jun 2025 00:18:39 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: RFE: getconf(1)/|pathconf()| support for |_PC_CASE_SENSITIVE| ...
To: cygwin AT cygwin DOT 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>
<85a6c084-c523-769a-2e42-d7e8b0e170d9 AT jdrake DOT com>
Organization: Systematic Software
In-Reply-To: <85a6c084-c523-769a-2e42-d7e8b0e170d9@jdrake.com>
X-Stat-Signature: tx8zhrj6cbpdatg5f83rt59coxo9dyyx
X-Rspamd-Server: rspamout02
X-Rspamd-Queue-Id: D238B2002C
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19E+s4TCB6EZZwreQ4av900KG3bCvpoobc=
X-HE-Tag: 1749363520-812013
X-HE-Meta: U2FsdGVkX1/XVcq62x4NwWlvAuBDZvR5sTfAYshSmZHFqQtBVYslkEy6pfWlSxhzGrkf/chkMuqdAbJ5aGr3yjr20XkDmxlvI7baHohWojahULBN3fCXR+6AqaOE/RospRb5XkT5dMT0PnGNL74obqKX/LFEpmdiHDhvh2pDxjuHE8Kou+sT6hyPtiy8WWXZJJi0iEu7bCitF/4nBK/fpQ8AFGLrk3jzFk0P1WCOtIAsKMk+Q2QK86YpoCDhk8CezpvNl2sLgPf9mxEIWuIiTZSA0llrUBDY9Uyjbudy88L9CTdWygAINe4HD44jZq5/zH5Jig5sWMFiG3nChgQH0qdK2DAMoa4xdx3HZtaSmRiXyxoGvjz91HlquFskVQIcxIAuK/joTzKPfEk+47kRMCWl602cC4kx/PBDzINTcdBdyt+4ghyJ5ujAHwCU5/B7kpi25CUeykdo6P4xl4oQfmgGIKxtCo0/HvqOkLesqJARFjEgoe7WbNSw9BZvaVMTVYyCwmJfOJgZJxS2oLNI3kSizIlWi91FqKZ/b+Akgpj4NqBQaXhSkQ==
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: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5586JiTh246049

On 2025-06-07 19:50, Jeremy Drake via Cygwin wrote:
> 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?

I am still unclear if that uses only the kernel or filesystem case sensitivity 
flags or also takes into account the WSL directory case sensitivity?

> https://github.com/cygwin/cygwin/blob/55e5d9bf0f76f2f270ee8a3cef1da0bc646f72bf/winsup/cygwin/fhandler/base.cc#L1944-L1945
> 
> https://sourceware.org/pipermail/cygwin-patches/2016q4/008626.html

Please reference cygwin.com URIs and MLs for consistency where available:

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

https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/include/sys/unistd.h#l493

https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/include/cygwin/version.h#l472

https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/release/2.6.1#l4

https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/utils/getconf.c#l194

https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/fhandler/base.cc#l1944

> 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.  */




-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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