Whoops.
>MacOS.search = function( path ) {
[snip]
> if ( c == "." ) {
> while ( path.slice( 0, 2 ) == "../" ) {
> me = me.container;
> path = path.slice( 3 );
> }
> return me;
> }
Replace the above with:
if ( c == "." ) {
while ( path.slice( 0, 3 ) == "../" ) {
me = me.container;
path = path.slice( 3 );
}
return new MacOS.FileSpec( me.path + "/" + path );
}
-- Arthur