git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946f5d0
)
r22617: assume we have defered elements if the type is just provides via
author
Stefan Metzmacher
<metze@samba.org>
Tue, 1 May 2007 01:57:17 +0000
(
01:57
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:52 +0000
(14:51 -0500)
'declare' this should fix the problem with the winbind IRPC calls
metze
source/pidl/lib/Parse/Pidl/NDR.pm
patch
|
blob
|
history
diff --git
a/source/pidl/lib/Parse/Pidl/NDR.pm
b/source/pidl/lib/Parse/Pidl/NDR.pm
index 1d7ca1670794500068976eb788ac51c2b8c9cf01..d2556cb8e60503639f0da263bac5ac294421b915 100644
(file)
--- a/
source/pidl/lib/Parse/Pidl/NDR.pm
+++ b/
source/pidl/lib/Parse/Pidl/NDR.pm
@@
-281,6
+281,8
@@
sub can_contain_deferred($)
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));