|
[text/plain 877b]
Thanks for the report. I can indeed reproduce this, but I'm unsure of the best solution. The
root cause is that MacOS, unlike some other multi-volume systems (notably win32), has no
notion of a per-volume "current working directory". So while C:foo\bar on win32 might refer
to C:\baz\foo\bar if \baz is the CWD for C:, there's no analogous situation on MacOS, and
thus File::Spec's splitpath() and splitdir() don't give MacOS's paths a leading empty string like
they do on other platforms.
I think the correct fix for this would probably be to change File::Spec, but I'm not completely
sure.
Also, note that the most desirable behavior when converting from MacOS paths to OS X paths
(probably a pretty common situation) would be to convert "MacHD:foo:bar" to "/Volumes/
MacHD/foo/bar", not just "/foo/bar". That would require some additional machinery too.
-Ken
|