1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

r7119: 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
(This used to be commit 8a16aa6401)
This commit is contained in:
Stefan Metzmacher
2005-05-30 18:40:36 +00:00
committed by Gerald (Jerry) Carter
parent d089ecb5b6
commit 46e5fda0ad

View File

@ -179,7 +179,7 @@ sub can_contain_deferred
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});