]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind/Suppressions.pm
Represent valgrind version numbers by their own class
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Suppressions.pm
index 1226aab89d4e993983eb8b719d9e1935c872de63..84526fd5eb13ce3f70e300cee425610c4474c565 100644 (file)
@@ -115,7 +115,7 @@ sub maybe_generalize {
  1 while $supp =~ s/[^\r\n]*:\s*\*\s*$//;
 
  # With valgrind 3.4.0, we can replace unknown series of frames by '...'
- if ($sess->version ge '3.4.0') {
+ if ($sess->version >= '3.4.0') {
   $supp .= "...\n";
   $supp =~ s/(?:^\s*(?:\.{3}|\*:\S*|obj:\*)\s*\n)+/...\n/mg;
  }