Hi Jose,
An effective way to convert from old Mac OS paths to standard unix paths
is included in the Core Foundation library, which provides the CFURL
methods:
http://developer.apple.com/documentation/CoreFoundation/Reference/CFURLRef/Reference/reference.html#//apple_ref/c/tdef/CFURLPathStyle
Specifically, it seems able to convert between any of:
enum CFURLPathStyle {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle = 1,
kCFURLWindowsPathStyle = 2
};
BTW, we already link with Mac OS X' Core Foundation library in Mac OS X
systems.
Cheers,
-Aleksander