[webkit-dev] svn-create-patch acting oddly lately

Darin Adler darin at apple.com
Mon Jul 20 14:50:21 PDT 2009


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.


More information about the webkit-dev mailing list