summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-21 23:05:07 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-21 23:10:14 +1100
commita3ed70ff96122531ba000123cdf3992d26663f30 (patch)
tree2630942ae5cb64d891c578172ebbcfe71e7fa360 /pidl/lib/Parse/Pidl
parentfcdbd0613631b02b991214b2dccbb97eb571ac28 (diff)
downloadsamba-a3ed70ff96122531ba000123cdf3992d26663f30.tar.gz
samba-a3ed70ff96122531ba000123cdf3992d26663f30.tar.bz2
samba-a3ed70ff96122531ba000123cdf3992d26663f30.zip
pidl: fixed call to cpp with a space in the directory name
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r--pidl/lib/Parse/Pidl/IDL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/IDL.pm b/pidl/lib/Parse/Pidl/IDL.pm
index bc66020748..de605c7024 100644
--- a/pidl/lib/Parse/Pidl/IDL.pm
+++ b/pidl/lib/Parse/Pidl/IDL.pm
@@ -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);