FSPathMakeRef and FSRefMakePath are deprecated in OS X 10.8, what are the alternatives?

Viewed 5971

I've noticed that FSPathMakeRef() and FSRefMakePath() are now deprecated in OS X 10.8.

I have some code that uses them to find the canonical case for a path, e.g. if passed "/USeRs" it will return "/Users".

Why have these and other related functions been deprecated, and what non-deprecated API should be used now instead to provide equivalent functionality?

1 Answers
Related