git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5f684
)
pidl: If STR_NULLTERM we concider it's a string as well
author
Matthieu Patou
<mat@matws.net>
Fri, 5 Aug 2011 19:03:29 +0000
(23:03 +0400)
committer
Matthieu Patou
<mat@matws.net>
Fri, 5 Aug 2011 21:33:07 +0000
(
01:33
+0400)
pidl/lib/Parse/Pidl/NDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/NDR.pm
b/pidl/lib/Parse/Pidl/NDR.pm
index d91c324b536ebaf030b56eaded9e5de14eefeadb..db776ae3ef371751806d833b84e4407a74786cc1 100644
(file)
--- a/
pidl/lib/Parse/Pidl/NDR.pm
+++ b/
pidl/lib/Parse/Pidl/NDR.pm
@@
-943,6
+943,9
@@
sub ContainsString($)
{
my ($e) = @_;
+ if (property_matches($e, "flag", ".*STR_NULLTERM.*")) {
+ return 1;
+ }
foreach my $l (@{$e->{LEVELS}}) {
return 1 if ($l->{TYPE} eq "ARRAY" and $l->{IS_ZERO_TERMINATED});
}