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

flat pattern string when comparing file entries in pre-existing partitions.
This commit is contained in:
leaf%mozilla.org 2003-04-10 22:26:49 +00:00
parent 5a583997a5
commit 62738efed6

View File

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