svn commit: samba r10787 - in branches/SAMBA_4_0/source/pidl: . lib/Parse/Pidl/Samba3

jelmer at samba.org jelmer at samba.org
Thu Oct 6 20:07:53 GMT 2005


Author: jelmer
Date: 2005-10-06 20:07:53 +0000 (Thu, 06 Oct 2005)
New Revision: 10787

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

Log:
Fix silly nodiscriminant-issue

Modified:
   branches/SAMBA_4_0/source/pidl/TODO
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Parser.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/TODO
===================================================================
--- branches/SAMBA_4_0/source/pidl/TODO	2005-10-06 18:19:29 UTC (rev 10786)
+++ branches/SAMBA_4_0/source/pidl/TODO	2005-10-06 20:07:53 UTC (rev 10787)
@@ -10,3 +10,7 @@
   a (regular) remote error occurs
  
 - support nested elements
+
+- Don't output [ref] pointers for Samba 4?
+ 
+- alternative to subcontext()

Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Parser.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Parser.pm	2005-10-06 18:19:29 UTC (rev 10786)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/Parser.pm	2005-10-06 20:07:53 UTC (rev 10787)
@@ -394,7 +394,7 @@
 	indent;
 	DeclareArrayVariables($u->{ELEMENTS});
 
-	if (has_property($u, "nodiscriminant")) {
+	unless (has_property($u, "nodiscriminant")) {
 		pidl "if (!prs_uint32(\"switch_value\", ps, depth, &v->switch_value))";
 		pidl "\treturn False;";
 		pidl "";



More information about the samba-cvs mailing list