Re: Differentiate FAT16 and FAT32
Re: Differentiate FAT16 and FAT32
- Subject: Re: Differentiate FAT16 and FAT32
- From: Alastair Houghton <email@hidden>
- Date: Mon, 11 Jan 2010 17:36:47 +0000
On 11 Jan 2010, at 17:22, Matthias Arndt wrote:
> if (statfs([path cStringUsingEncoding:NSASCIIStringEncoding], &fsInfo) == 0)
[path cStringUsingEncoding:NSASCIIStringEncoding] is wrong. You want [path filesystemRepresentation], otherwise you will have problems if there are any non-ASCII characters in the provided path.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden