[squeak-dev] Bug in #isCaseSensitive on a Mac?

Eliot Miranda eliot.miranda at gmail.com
Tue Mar 16 20:10:45 UTC 2010


On Tue, Mar 16, 2010 at 4:26 AM, Frank Shearar <frank.shearar at angband.za.org
> wrote:

> Edgar J. De Cleene wrote:
>
>>
>>
>> On 3/16/10 8:36 AM, "Juan Vuletich" <juan at jvuletich.org> wrote:
>>
>>  Hi Folks,
>>>
>>> FileDirectory activeDirectoryClass isCaseSensitive answers false on a
>>> Mac. this is a bug, right?
>>>
>>> Cheers,
>>> Juan Vuletich
>>>
>>
>>
>> Mac OS X ~= Unix
>>
>
> OS X uses a case sensitive filesystem, so it sounds like a bug.
>

Not exactly.  By default Mac OS X installs with case insensitivity (at least
in 10.4 Tiger).  But one can specify either case sensitivity (my preference,
currently using it on Snow Leopard) or case insensitivity.  See Disk
Utility.

I looked in sys/attr.h and found VOL_CAP_FMT_CASE_SENSITIV
& VOL_CAP_FMT_CASE_PRESERVING, but can't find the call that fils in these
attributes in a vol_capabilities_attr_t, so I don't know how to retrieve the
settings.

HTH


> frank
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100316/2f0148d9/attachment.htm


More information about the Squeak-dev mailing list