Rev 11295: remove unused functions, run LOCAL-TDR by default in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Jelmer Vernooij jelmer at samba.org
Tue Jan 23 01:25:29 GMT 2007


------------------------------------------------------------
revno: 11295
revision-id: jelmer at samba.org-20070123012404-o9w5pmgkm94zsxlu
parent: svn-v2:20962 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Tue 2007-01-23 02:24:04 +0100
message:
  remove unused functions, run LOCAL-TDR by default
modified:
  .bzrignore                     svn-v2:17811 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-.bzrignore
  source/libcli/raw/rawacl.c     svn-v2:6 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibcli%2fraw%2frawacl.c
  source/librpc/ndr/ndr.c        svn-v2:6 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibrpc%2fndr%2fndr.c
  source/script/tests/test_local.sh svn-v2:7434 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fscript%2ftests%2ftest_local.sh
=== modified file '.bzrignore'
--- a/.bzrignore	2007-01-23 00:26:03 +0000
+++ b/.bzrignore	2007-01-23 01:24:04 +0000
@@ -161,3 +161,4 @@
 source/coverage
 source/st
 source/samba.info
+source/pidl/cover_db

=== modified file 'source/libcli/raw/rawacl.c'
--- a/source/libcli/raw/rawacl.c	2006-03-16 00:23:11 +0000
+++ b/source/libcli/raw/rawacl.c	2007-01-23 01:24:04 +0000
@@ -131,12 +131,12 @@
 	nt.in.params.data = params;
 	nt.in.params.length = 8;
 
-	ndr = ndr_push_init();
+	ndr = ndr_push_init_ctx(NULL);
 	if (!ndr) return NULL;
 
 	status = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, io->set_secdesc.in.sd);
 	if (!NT_STATUS_IS_OK(status)) {
-		ndr_push_free(ndr);
+		talloc_free(ndr);
 		return NULL;
 	}
 
@@ -144,7 +144,7 @@
 
 	req = smb_raw_nttrans_send(tree, &nt);
 
-	ndr_push_free(ndr);
+	talloc_free(ndr);
 	return req;
 }
 

=== modified file 'source/librpc/ndr/ndr.c'
--- a/source/librpc/ndr/ndr.c	2006-10-16 14:32:07 +0000
+++ b/source/librpc/ndr/ndr.c	2007-01-23 01:24:04 +0000
@@ -134,20 +134,6 @@
 	return ndr;
 }
 
-
-/* create a ndr_push structure, ready for some marshalling */
-_PUBLIC_ struct ndr_push *ndr_push_init(void)
-{
-	return ndr_push_init_ctx(NULL);
-}
-
-/* free a ndr_push structure */
-_PUBLIC_ void ndr_push_free(struct ndr_push *ndr)
-{
-	talloc_free(ndr);
-}
-
-
 /* return a DATA_BLOB structure for the current ndr_push marshalled data */
 _PUBLIC_ DATA_BLOB ndr_push_blob(struct ndr_push *ndr)
 {

=== modified file 'source/script/tests/test_local.sh'
--- a/source/script/tests/test_local.sh	2006-10-28 05:21:11 +0000
+++ b/source/script/tests/test_local.sh	2007-01-23 01:24:04 +0000
@@ -4,7 +4,7 @@
 local_tests="$local_tests LOCAL-IDTREE LOCAL-EVENT"
 local_tests="$local_tests LOCAL-SOCKET LOCAL-MESSAGING LOCAL-IRPC"
 local_tests="$local_tests LOCAL-NDR LOCAL-BINDING LOCAL-FILE LOCAL-REGISTRY"
-local_tests="$local_tests LOCAL-SDDL LOCAL-PAC LOCAL-DBSPEED"
+local_tests="$local_tests LOCAL-SDDL LOCAL-PAC LOCAL-DBSPEED LOCAL-TDR "
 local_tests="$local_tests LOCAL-NTLMSSP LOCAL-CRYPTO-MD4"
 local_tests="$local_tests LOCAL-CRYPTO-MD5 LOCAL-CRYPTO-HMACMD5"
 local_tests="$local_tests LOCAL-CRYPTO-SHA1 LOCAL-CRYPTO-HMACSHA1"



More information about the samba-cvs mailing list