inconsistencies using absolute paths with .. on Mac
Wierd things happen to paths with .. in them to go back up (e.g. from thispatcher's path), likeSystem:/Applications/Max.app/Contents/Resources/C74/help/../media/msp/anton.aif
which never works, or/Applications/Max.app/Contents/Resources/C74/help/../media/msp/anton.aif
which works for abspath and buffer~ but not for conformpath.
Similar weirdness for paths to a directory for polybuffer~:
path type conformpath abspath (poly)buffer~
Volume:/abspath/filename OK OK OK
Volume:/abspath/../path/filename ERR ERR ERR
/abspath/filename OK OK OK
/abspath/../path/filename ERR OK OK
Volume:/abspath/dirname OK OK OK
Volume:/abspath/../path/dirname ERR ERR ERR
/abspath/dirname OK OK OK
/abspath/../path/dirname ERR OK OK
path with .. problem.maxpat
Max Patch
I suspect this is from the SDK's path_topathname
, any hints or corrections are appreciated.
Cheers...
..Diemo