Skip to content

Commit

Permalink
pidl: fixed call to cpp with a space in the directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tridgell committed Nov 21, 2010
1 parent fcdbd06 commit a3ed70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pidl/idl.yp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ sub parse_file($$)
$cpp = "cpp";
}
my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
my $data = `$cpp -D__PIDL__$includes -xc "$filename"`;
$/ = $saved_delim;

return parse_string($data, $filename);
Expand Down
2 changes: 1 addition & 1 deletion pidl/lib/Parse/Pidl/IDL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2623,7 +2623,7 @@ sub parse_file($$)
$cpp = "cpp";
}
my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
my $data = `$cpp -D__PIDL__$includes -xc "$filename"`;
$/ = $saved_delim;

return parse_string($data, $filename);
Expand Down

0 comments on commit a3ed70f

Please sign in to comment.