Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase.

From: John Wiegley <[email-masked]>
Date: Mon, 04 Jan 2016 11:48:57 -0800

>>>>> Eli Zaretskii <[email-masked]> writes:

> Is there a C-callable API that could establish which one is it? Something
> like the Posix 'pathconf', perhaps, with some magic _PC_something argument?

It looks like getattrlist(2) is what you need:

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/getattrlist.2.html

Specifically, the volume attribute VOL_CAP_FMT_CASE_SENSITIVE.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2