On 6 Jan 2010, at 05:39, Ken Thomases wrote:
> On Jan 5, 2010, at 6:51 PM, Rob Keniger wrote:
>
>> Should Cocoa applications always assume that the filesystem is
>> case-insensitive when comparing path strings? Surely this could lead to
>> problems if the user has formatted a volume with a case
On 06/01/2010, at 3:39 PM, Ken Thomases wrote:
> Don't compare paths. Use APIs like FSCompareFSRefs() or call -[NSFileManager
> attributesOfItemAtPath:error:] and compare the NSFileDeviceIdentifier and
> NSFileSystemFileNumber keys (this is the Cocoa equivalent of calling stat(2)
> and compar
On Jan 5, 2010, at 6:51 PM, Rob Keniger wrote:
> Should Cocoa applications always assume that the filesystem is
> case-insensitive when comparing path strings? Surely this could lead to
> problems if the user has formatted a volume with a case-sensitive file system?
Don't compare paths. Use AP
My recent troubles with filesystem case got me thinking.
Should Cocoa applications always assume that the filesystem is case-insensitive
when comparing path strings? Surely this could lead to problems if the user has
formatted a volume with a case-sensitive file system? Is there any way to know