bug 201520, r=dmose, cyeh. Use the modified regexp string instead of the

flat pattern string when comparing file entries in pre-existing partitions.


git-svn-id: svn://10.0.0.236/trunk@141006 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
leaf%mozilla.org
2003-04-10 22:26:49 +00:00
parent 7d56d7877c
commit 9aa9a2e9e4

View File

@@ -1003,7 +1003,7 @@ sub FileMatches {
} elsif ($pattern =~ /\*$/) {
$regexp =~ s:\*$:.*:;
}
if ($name =~ /$pattern/) {
if ($name =~ /$regexp/) {
return 1;
}
return 0;