In perl.git, the branch vincent/normalize_unix_catfile has been created
<http://perl5.git.perl.org/perl.git/commitdiff/e4e43c58e153e5386fbba91a05717ed9a8b069d3?hp=0000000000000000000000000000000000000000>
at e4e43c58e153e5386fbba91a05717ed9a8b069d3 (commit)
- Log -----------------------------------------------------------------
commit e4e43c58e153e5386fbba91a05717ed9a8b069d3
Author: Vincent Pit <[email protected]>
Date: Fri Jun 29 17:55:57 2012 +0200
Fix Embed test regarding to the change to File::Spec::Unix::catfile()
M lib/ExtUtils/t/Embed.t
commit 9b3d222673fdf1dfe931b40e3a3628af0c0346d3
Author: Vincent Pit <[email protected]>
Date: Fri Jun 29 17:33:03 2012 +0200
Normalize paths returned by File::Spec::Unix::catfile()
This makes File::Spec::Unix::catfile('./a') and catfile('.', 'a') both
return 'a' (the latter used to return './a'). It is difficult to
normalize it the other way around because that would mean that
canonpath() should be changed to prepend './' to all relative paths.
As a result of this change, catdir() no longer called by catfile(),
M dist/Cwd/lib/File/Spec/Unix.pm
M dist/Cwd/t/Spec.t
-----------------------------------------------------------------------
--
Perl5 Master Repository