svn commit: samba r4170 - in branches/SAMBA_4_0/source/build/pidl: .
tridge at samba.org
tridge at samba.org
Mon Dec 13 09:32:02 GMT 2004
Author: tridge
Date: 2004-12-13 09:32:02 +0000 (Mon, 13 Dec 2004)
New Revision: 4170
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4170
Log:
don't check array size for conformant arrays (they are checked separately)
Modified:
branches/SAMBA_4_0/source/build/pidl/parser.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/parser.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/parser.pm 2004-12-13 09:26:13 UTC (rev 4169)
+++ branches/SAMBA_4_0/source/build/pidl/parser.pm 2004-12-13 09:32:02 UTC (rev 4170)
@@ -286,7 +286,8 @@
my $e = shift;
my $var_prefix = shift;
- if (util::has_property($e, "size_is")) {
+ if (!defined $e->{CONFORMANT_SIZE} &&
+ util::has_property($e, "size_is")) {
my $size = find_size_var($e, util::array_size($e), $var_prefix);
pidl "\tif ($var_prefix$e->{NAME}) {\n";
check_null_pointer($size);
More information about the samba-cvs
mailing list