aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-11-19 15:27:28 -0800
committerDan Fandrich <dan@coneharvesters.com>2010-11-19 15:27:28 -0800
commit091c52fef7636020522334f7eff58701f5fd8489 (patch)
tree044487f043f539f2aa3be6ef48ac54ce46f5baf9
parenta83870ef9d1758de371551844efa4f17dda71581 (diff)
Use the 3-argument open for compatibility with older perls
-rw-r--r--tests/symbol-scan.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/symbol-scan.pl b/tests/symbol-scan.pl
index 2f9ce3507..f12660339 100644
--- a/tests/symbol-scan.pl
+++ b/tests/symbol-scan.pl
@@ -35,7 +35,7 @@ my $verbose=0;
my $summary=0;
my $misses=0;
-open H_IN, "-|", "cpp", $h;
+open H_IN, "-|", "cpp " . $h;
while ( <H_IN> ) {
if ( /enum\s+(\S+\s+)?{/ .. /}/ ) {
s/^\s+//;