On Jul 20, 2009, at 2:40 PM, Peter Kasting wrote:

It looks from here like the chdir call is causing curdir() to report the non-symbolic-link form of things. If that's true, it seems like this workaround would work:

Makes sense.

...
my ($newdir) = @_;
my $before = File::Spec->rel2abs( File::Spec->curdir() );
+ chdir $before; # Try and force curdir() to report the directory without symbolic links.
+ $before = File::Spec->rel2abs( File::Spec->curdir() );
chdir $newdir;
my $after = File::Spec->rel2abs( File::Spec->curdir() );
...

Could you try this and see if it works?

Sadly, I tried it, and it didn’t have any effect.

    -- Darin

PS: It’s OK with me if someone wants to rewrite in python if this really is a result of perl badness.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to