develooper Front page | perl.perl5.porters | Postings from January 2014

Re: [perl #119965] The cwd.t fail, ever

Thread Previous
From:
Victor Efimov
Date:
January 26, 2014 08:22
Subject:
Re: [perl #119965] The cwd.t fail, ever
Message ID:
CAF7QZD47nw7uVp03FdhE2fh8kigBsyS4ktvjN-7AXdtQWwQnsQ@mail.gmail.com
2013/9/24 Joaquin Ferrero <perlbug-followup@perl.org>:
> -----------------------------------------------------------------
> Cwd::_perl_abs_path() call File::Spec->rel2abs(), but $start is the path to the symlink:

another duplicate
https://rt.cpan.org/Public/Bug/Display.html?id=47755#txn-1303596

I think _perl_abs_path should not call rel2abs, because rel2abs _can_
return unreadable (thus unexisting) directory.
and if parent directories unreadable _perl_abs_path better to return error.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About