We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2072 - Make OS X's filesystem calls use -[NSString fileSystemRepresentation]
Summary: Make OS X's filesystem calls use -[NSString fileSystemRepresentation]
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: file (show other bugs)
Version: HG 2.1
Hardware: x86 Mac OS X 10.8
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 22:30 UTC by C.W. Betts
Modified: 2013-10-21 07:21 UTC (History)
0 users

See Also:


Attachments
use fileSystemRepresentation instead of UTF8String (1.34 KB, patch)
2013-08-28 22:30 UTC, C.W. Betts
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description C.W. Betts 2013-08-28 22:30:48 UTC
Created attachment 1312 [details]
use fileSystemRepresentation instead of UTF8String

The recommended way of getting a file name that POSIX file APIs can open in OS X when using an NSString is -[NSString fileSystemRepresentation]. However, the current filesystem API in hg uses -[NSString UTF8String].
Comment 1 Sam Lantinga 2013-10-21 07:21:01 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/42da269b7977