J. Todd Slack wrote:

HI All,

What is the proper way to convert an HFS Path to a POSIX path?

The proper way is to make whatever effort you can to avoid having an HFS path to worry about in the first place. So if you have any control over that end of things, I'd say avoid it. In particular, if you're storing a file reference for any length of time, prefer aliases.

If that's not an option, I think the quickest route is through CFURLCreateWithFileSystemPath and CFURLCopyFileSystemPath.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to