svn commit: samba r24721 - in branches/SAMBA_4_0: . source/pidl/lib/Parse/Pidl/Samba4/NDR

jelmer at samba.org jelmer at samba.org
Mon Aug 27 19:47:26 GMT 2007


Author: jelmer
Date: 2007-08-27 19:47:23 +0000 (Mon, 27 Aug 2007)
New Revision: 24721

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

Log:
Avoid True and False because they are only available within Samba.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm	2007-08-27 19:16:37 UTC (rev 24720)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm	2007-08-27 19:47:23 UTC (rev 24721)
@@ -2290,11 +2290,11 @@
 		$self->pidl("\t\t(ndr_push_flags_fn_t) ndr_push_$d->{NAME},");
 		$self->pidl("\t\t(ndr_pull_flags_fn_t) ndr_pull_$d->{NAME},");
 		$self->pidl("\t\t(ndr_print_function_t) ndr_print_$d->{NAME},");
-		$self->pidl("\t\t".($d->{ASYNC}?"True":"False").",");
+		$self->pidl("\t\t".($d->{ASYNC}?"true":"false").",");
 		$self->pidl("\t},");
 		$count++;
 	}
-	$self->pidl("\t{ NULL, 0, NULL, NULL, NULL, False }");
+	$self->pidl("\t{ NULL, 0, NULL, NULL, NULL, false }");
 	$self->pidl("};");
 	$self->pidl("");
 

Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm	2007-08-27 19:16:37 UTC (rev 24720)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm	2007-08-27 19:47:23 UTC (rev 24721)
@@ -232,20 +232,20 @@
 	if (dcesrv_$name\_interface.syntax_id.if_version == if_version &&
 		GUID_equal(\&dcesrv\_$name\_interface.syntax_id.uuid, uuid)) {
 		memcpy(iface,&dcesrv\_$name\_interface, sizeof(*iface));
-		return True;
+		return true;
 	}
 
-	return False;
+	return false;
 }
 
 static bool $name\__op_interface_by_name(struct dcesrv_interface *iface, const char *name)
 {
 	if (strcmp(dcesrv_$name\_interface.name, name)==0) {
 		memcpy(iface, &dcesrv_$name\_interface, sizeof(*iface));
-		return True;
+		return true;
 	}
 
-	return False;	
+	return false;	
 }
 	
 NTSTATUS dcerpc_server_$name\_init(void)



More information about the samba-cvs mailing list