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