Subject: | Path::Class 0.33 crashes on windows |
Hello.
I'm using ActivePerl 5.18.1 on MSWin 8.1 x64.
When updating to the latest Path::Class v.033 Perl::Critic start producing following fatal error (i think that reason in incorrect call to File::stat from Path::Class::Entity):
[12:31:15.792][5596:0:0][File::stat][FATAL] Your vendor has not defined Fcntl macro S_ISVTX, used at d:/devel/perl/lib/File/stat.pm line 37
eval {...} at D:\devel\perl\lib\File\stat.pm line 37
File::stat::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require File/stat.pm at D:\devel\perl\site\lib\Path\Class\Entity.pm line 9
Path::Class::Entity::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Path/Class/Entity.pm at D:\devel\perl\site\lib\parent.pm line 20
parent::import at D:\devel\perl\site\lib\Path\Class\Dir.pm line 10
Path::Class::Dir::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Path/Class/Dir.pm at D:\devel\perl\site\lib\Path\Class\File.pm line 8
Path::Class::File::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Path/Class/File.pm at D:\devel\perl\site\lib\File\ShareDir\ProjectDistDir.pm line 15
File::ShareDir::ProjectDistDir::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require File/ShareDir/ProjectDistDir.pm at D:\devel\perl\site\lib\Pod\Wordlist.pm line 6
Pod::Wordlist::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Pod/Wordlist.pm at D:\devel\perl\site\lib\Pod\Spell.pm line 10
Pod::Spell::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Pod/Spell.pm at D:\devel\perl\site\lib\Perl\Critic\Policy\Documentation\PodSpelling.pm line 21
Perl::Critic::Policy::Documentation::PodSpelling::BEGIN at D:\devel\perl\lib\File\stat.pm line 48
eval {...} at D:\devel\perl\lib\File\stat.pm line 48
require Perl/Critic/Policy/Documentation/PodSpelling.pm at (eval 541) line 2
eval 'CORE::require Perl::Critic::Policy::Documentation::PodSpelling