svn commit: samba r4110 - in branches/SAMBA_4_0/source: build/pidl
librpc/ndr
tridge at samba.org
tridge at samba.org
Thu Dec 9 07:05:01 GMT 2004
Author: tridge
Date: 2004-12-09 07:05:00 +0000 (Thu, 09 Dec 2004)
New Revision: 4110
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4110
Log:
fixed pidl to allow arrays to have size_is() and length_is() elements
that depend on variables that come after the array in the structure or function.
This has been something that has been problematic for a while, but the
winreg QueryValue problem finally prompted me to fix it properly. We
should now go back and fix up all the ugly workarounds we have used to
avoid this problem in other calls.
Unfortunately the solution is fairly complex, and involves the use of
the internal ndr token lists (similar to the solution for relative
pointers). I wonder if anyone else will be able to follow the logic if
I get run over by a bus :-)
Modified:
branches/SAMBA_4_0/source/build/pidl/parser.pm
branches/SAMBA_4_0/source/librpc/ndr/libndr.h
branches/SAMBA_4_0/source/librpc/ndr/ndr.c
Changeset:
Sorry, the patch is too large (407 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4110
More information about the samba-cvs
mailing list