svn commit: samba r7119 - in branches/SAMBA_4_0/source/build/pidl: .

metze at samba.org metze at samba.org
Mon May 30 18:40:36 GMT 2005


Author: metze
Date: 2005-05-30 18:40:36 +0000 (Mon, 30 May 2005)
New Revision: 7119

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7119

Log:
the content of a subcontext can contain deferred data,
but for the caller a subcontext is like a scalar...
the first point is more important and is fixed with this commit,
however it would be nice if we could make them look like scalars to the callers later

metze
Modified:
   branches/SAMBA_4_0/source/build/pidl/ndr.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/ndr.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/ndr.pm	2005-05-30 17:58:12 UTC (rev 7118)
+++ branches/SAMBA_4_0/source/build/pidl/ndr.pm	2005-05-30 18:40:36 UTC (rev 7119)
@@ -179,7 +179,7 @@
 
 	return 1 if ($e->{POINTERS});
 	return 0 if (typelist::is_scalar($e->{TYPE}));
-	return 0 if (defined(util::has_property($e, "subcontext")));
+	return 1 if (defined(util::has_property($e, "subcontext")));
 	return 1 unless (typelist::hasType($e->{TYPE})); # assume the worst
 
 	my $type = typelist::getType($e->{TYPE});



More information about the samba-cvs mailing list