svn commit: samba r1700 - branches/SAMBA_4_0/source/build/pidl
jelmer at samba.org
jelmer at samba.org
Tue Aug 10 18:46:36 GMT 2004
Author: jelmer
Date: 2004-08-10 18:46:36 +0000 (Tue, 10 Aug 2004)
New Revision: 1700
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1700&nolog=1
Log:
make version default to 0.0 (same as midl)
Modified:
branches/SAMBA_4_0/source/build/pidl/header.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/header.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/header.pm 2004-08-10 18:44:58 UTC (rev 1699)
+++ branches/SAMBA_4_0/source/build/pidl/header.pm 2004-08-10 18:46:36 UTC (rev 1700)
@@ -275,6 +275,8 @@
if (defined $if_uuid) {
my $name = uc $interface->{NAME};
$res .= "#define DCERPC_$name\_UUID \"$if_uuid\"\n";
+
+ if(!defined $if_version) { $if_version = "0.0"; }
$res .= "#define DCERPC_$name\_VERSION $if_version\n";
$res .= "#define DCERPC_$name\_NAME \"$interface->{NAME}\"\n\n";
$res .= "extern const struct dcerpc_interface_table dcerpc_table_$interface->{NAME};\n";
More information about the samba-cvs
mailing list