------------------------------------------------------------ revno: 11295 revision-id: [EMAIL PROTECTED] parent: svn-v2:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] source/libcli/raw/rawacl.c svn-v2:[EMAIL PROTECTED] source/librpc/ndr/ndr.c svn-v2:[EMAIL PROTECTED] source/script/tests/test_local.sh svn-v2:[EMAIL PROTECTED] === 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"