svn commit: samba r22617 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl: .
metze at samba.org
metze at samba.org
Tue May 1 01:57:19 GMT 2007
Author: metze
Date: 2007-05-01 01:57:17 +0000 (Tue, 01 May 2007)
New Revision: 22617
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22617
Log:
assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls
metze
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm 2007-04-30 22:38:27 UTC (rev 22616)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm 2007-05-01 01:57:17 UTC (rev 22617)
@@ -281,6 +281,8 @@
my $type = getType($e->{TYPE});
+ return 1 if ($type->{TYPE} eq "DECLARE"); # assume the worst
+
foreach my $x (@{$type->{DATA}->{ELEMENTS}}) {
return 1 if ($x->{POINTERS});
return 1 if (can_contain_deferred ($x));
More information about the samba-cvs
mailing list