samba-technical@lists.samba.org
[Top] [All Lists]

Re: svn commit: samba r25166 - in branches/SAMBA_4_0: . source/pidl/lib/

Subject: Re: svn commit: samba r25166 - in branches/SAMBA_4_0: . source/pidl/lib/Parse/Pidl source/pidl/tests
From: "Stefan (metze) Metzmacher"
Date: Sat, 15 Sep 2007 09:24:46 +0200
> +     foreach my $x (@{$type->{ELEMENTS}}) {
> +             return 1 if ($x->{POINTERS});
> +             return 1 if (can_contain_deferred ($x));

Hi Jelmer,

doesn't this needs to be con_contain_deferred($x->{TYPE}),
I'm not sure so please check this.

maybe we should have a more complex test which tested unions with
structs in it where the struct contains a pointer.

metze
<Prev in Thread] Current Thread [Next in Thread>