From a3ed70ff96122531ba000123cdf3992d26663f30 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 21 Nov 2010 23:05:07 +1100 Subject: pidl: fixed call to cpp with a space in the directory name --- pidl/idl.yp | 2 +- pidl/lib/Parse/Pidl/IDL.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pidl') diff --git a/pidl/idl.yp b/pidl/idl.yp index b3d5ed16ac..30247f9ef3 100644 --- a/pidl/idl.yp +++ b/pidl/idl.yp @@ -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); 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); -- cgit