diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-16 14:42:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:01 -0500 |
commit | 575c8709262bb97ef1b14d128058620a9200e447 (patch) | |
tree | ddd0d5743c05a9718453a93c481d455af69f7276 /source4/pidl/tests/ndr_compat.pl | |
parent | b76b6a15225329941c20070d05356aba56044173 (diff) | |
download | samba-575c8709262bb97ef1b14d128058620a9200e447.tar.gz samba-575c8709262bb97ef1b14d128058620a9200e447.tar.bz2 samba-575c8709262bb97ef1b14d128058620a9200e447.zip |
r24493: - it turns out that
foreach my $e (@{$union->{ELEMENTS}}) {
changes $union->{ELEMENTS} from undef into an empty array.
this removes the difference between
struct foo { }; and struct foo;
So we need to explicit return before.
- we should return the same element for layout for
structs and unions with no elements.
- fix the testsuite to match
metze
(This used to be commit 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)
Diffstat (limited to 'source4/pidl/tests/ndr_compat.pl')
0 files changed, 0 insertions, 0 deletions