RFE: getconf(1)/|pathconf()| support for |_PC_CASE_SENSITIVE| ...
Jeremy Drake
cygwin@jdrake.com
Sun Jun 8 01:50:58 GMT 2025
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. */
More information about the Cygwin
mailing list