diff options
Diffstat (limited to 'lib/warnings.t')
-rw-r--r-- | lib/warnings.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/warnings.t b/lib/warnings.t index 8e57a6db59..0e65da992b 100644 --- a/lib/warnings.t +++ b/lib/warnings.t @@ -40,6 +40,7 @@ foreach my $file (@w_files) { next if $file =~ /(~|\.orig|,v)$/; next if $file =~ /perlio$/ && !(find PerlIO::Layer 'perlio'); + next if -d $file; open F, "<$file" or die "Cannot open $file: $!\n" ; my $line = 0; |