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

tpot at samba.org tpot at samba.org
Mon Jan 17 06:37:47 GMT 2005


Author: tpot
Date: 2005-01-17 06:37:47 +0000 (Mon, 17 Jan 2005)
New Revision: 4798

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

Log:
When dissecting structures, name the protocol tree after the field name,
not the field type (i.e DACL and SACL instead of dom_sid).

Modified:
   branches/SAMBA_4_0/source/build/pidl/eparser.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/eparser.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/eparser.pm	2005-01-17 06:21:40 UTC (rev 4797)
+++ branches/SAMBA_4_0/source/build/pidl/eparser.pm	2005-01-17 06:37:47 UTC (rev 4798)
@@ -592,8 +592,8 @@
 	s/(ndr_pull_([^\)]*?)\(
 	   ndr,\ 
 	   (NDR_[^,]*?),\ 
-	   ([^\(].*?)\);)
-	    /ndr_pull_$2(ndr, $3, get_subtree(tree, \"$2\", ndr, ett_$2), $4);
+	   (&?r->(in|out|)\.?([^\(].*?))\);)
+	    /ndr_pull_$2(ndr, $3, get_subtree(tree, \"$6\", ndr, ett_$2), $4);
 	/smgx;
 
 	# Add proto_tree parameter to pull function prototypes, e.g



More information about the samba-cvs mailing list