From 88ab133c1fd1500538988694cfd2a8385132571c Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Fri, 20 Aug 2004 12:41:08 +0000 Subject: [PATCH] Check for errors in directory names containing digits (e.g. "i18n") This was SVN commit r1023. --- source/errorlist.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/errorlist.pl b/source/errorlist.pl index 97fe2b9c13..c669cde144 100755 --- a/source/errorlist.pl +++ b/source/errorlist.pl @@ -169,6 +169,6 @@ sub cpp_files { opendir my $d, $_[0] or die "Error opening directory '$_[0]' ($!)"; my @f = readdir $d; my @files = map "$_[0]/$_", grep /\.(?:cpp|h)$/, @f; - push @files, cpp_files("$_[0]/$_") for grep { /^[a-z]+$/ and -d "$_[0]/$_" } @f; + push @files, cpp_files("$_[0]/$_") for grep { /^[a-z0-9]+$/ and -d "$_[0]/$_" } @f; return @files; }