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

tpot at samba.org tpot at samba.org
Mon Jan 17 06:21:40 GMT 2005


Author: tpot
Date: 2005-01-17 06:21:40 +0000 (Mon, 17 Jan 2005)
New Revision: 4797

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

Log:
Add the name of what we are pointing to when dissecting pointers.

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 05:41:18 UTC (rev 4796)
+++ branches/SAMBA_4_0/source/build/pidl/eparser.pm	2005-01-17 06:21:40 UTC (rev 4797)
@@ -511,10 +511,10 @@
 	# of adding a couple of parameters to each function call.
         #
 
-	# Add proto tree and hf argument to ndr_pull_ptr() calls.
+	# Add proto tree and name argument to ndr_pull_ptr() calls.
 
-	s/(ndr_pull_ptr\(ndr,\ ([^\)]*?)\);)
-	    /ndr_pull_ptr(ndr, tree, hf_ptr, $2);/smgx;
+	s/(ndr_pull_ptr\(ndr,\ (&_ptr_([^\)]*?))\);)
+	    /ndr_pull_ptr(ndr, tree, "$3", $2);/smgx;
 
 	# Wrap ndr_pull_array_size() and ndr_pull_array_length()
 	# functions.  Add leading space in front of first parameter so



More information about the samba-cvs mailing list