summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-26 22:34:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:14 -0500
commitadda6b39b6f77d84c1379ab8da7cf6fbb315afbe (patch)
tree3c7edd4480c56e5ebff8de9cc516f07700198f31
parent28a3ccf9af96ae214f92e6ea16edb84c53163cec (diff)
downloadsamba-adda6b39b6f77d84c1379ab8da7cf6fbb315afbe.tar.gz
samba-adda6b39b6f77d84c1379ab8da7cf6fbb315afbe.tar.bz2
samba-adda6b39b6f77d84c1379ab8da7cf6fbb315afbe.zip
r5024: Fix build.
(This used to be commit 425b988541fa669e7f2905fe959522f2d2d50da1)
-rwxr-xr-xsource4/build/pidl/pidl.pl8
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl
index a541bd2717..4379ecba51 100755
--- a/source4/build/pidl/pidl.pl
+++ b/source4/build/pidl/pidl.pl
@@ -145,12 +145,6 @@ sub process_file($)
my($eparserhdr) = dirname($output) . "/packet-dcerpc-$basename.h";
IdlEParser::RewriteHeader($pidl, $header, $eparserhdr);
}
- if ($opt_swig) {
- my($filename) = $output;
- $filename =~ s/\/ndr_/\//;
- $filename = util::ChangeExtension($filename, ".i");
- IdlSwig::RewriteHeader($pidl, $header, $filename);
- }
}
if ($opt_client) {
@@ -220,7 +214,7 @@ $dcom
my($filename) = $output;
$filename =~ s/\/ndr_/\//;
$filename = util::ChangeExtension($filename, ".i");
- IdlSwig::RewriteC($pidl, $parser, $filename);
+ util::FileSave($pidl, IdlSwig::Parse($pidl));
}
}