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:
@@ -1003,7 +1003,7 @@ sub FileMatches {
|
||||
} elsif ($pattern =~ /\*$/) {
|
||||
$regexp =~ s:\*$:.*:;
|
||||
}
|
||||
if ($name =~ /$pattern/) {
|
||||
if ($name =~ /$regexp/) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user