aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCVSROOT/log_accum.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index 73bf32f3d48c..1ad3aa808b39 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -370,7 +370,9 @@ for ($i = 0; ; $i++) {
#
if (-e "$LAST_FILE.$id") {
$_ = &read_line("$LAST_FILE.$id");
- exit 0 if (! grep(/$files[0]$/, $_));
+ $tmpfiles=$files[0];
+ $tmpfiles =~ s,([^a-zA-Z0-9_/]),\\$1,g;
+ exit 0 if (! grep(/$tmpfiles$/, $_));
}
#