summaryrefslogtreecommitdiff
path: root/user/perl-test-runvalgrind/portable-memory-assumptions.patch
blob: 927da1194a221bdabae7640f512e429a36c7eddd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Upstream: https://github.com/shlomif/perl-Test-RunValgrind/issues/5

--- Test-RunValgrind-0.2.0/lib/Test/RunValgrind.pm.old	2018-01-26 18:07:19.000000000 +0000
+++ Test-RunValgrind-0.2.0/lib/Test/RunValgrind.pm	2018-10-02 22:42:05.450000000 +0000
@@ -80,7 +80,8 @@
             index( $$out_text, q{ERROR SUMMARY: 0 errors from 0 contexts} ) >= 0
         )
             && ( $self->_ignore_leaks
-            || ( index( $$out_text, q{in use at exit: 0 bytes} ) >= 0 ) )
+            || ( index( $$out_text, q{in use at exit: 0 bytes} ) >= 0 )
+            || ( index( $$out_text, q{still reachable: 0 bytes} ) >= 0 ) )
     );
 }