projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64ecee
)
leakfinder.pl: Run evals four times
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 15 Nov 2012 02:08:34 +0000
(18:08 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 15 Nov 2012 23:57:13 +0000
(15:57 -0800)
With three times we still get false positives
Porting/leakfinder.pl
patch
|
blob
|
history
diff --git
a/Porting/leakfinder.pl
b/Porting/leakfinder.pl
index
985cea2
..
423e4ee
100644
(file)
--- a/
Porting/leakfinder.pl
+++ b/
Porting/leakfinder.pl
@@
-33,7
+33,7
@@
for(`find .`) {
open STDIN, "</dev/null";
open STDERR, ">/dev/null";
\$unused_variable = '$q';
- eval \$unused_variable while \$also_unused++ <
3
;
+ eval \$unused_variable while \$also_unused++ <
4
;
print oUt sv_count, "\n";
eval \$unused_variable;
print oUt sv_count, "\n";