1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Use the 3-argument open for compatibility with older perls

This commit is contained in:
Dan Fandrich 2010-11-19 15:27:28 -08:00
parent a83870ef9d
commit 091c52fef7

View File

@ -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+//;