[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-665-g33eaa9a
Günther Deschner
gd at samba.org
Tue Apr 7 11:03:26 GMT 2009
The branch, v3-4-test has been updated
via 33eaa9accb90824ecc5c688326ba4c3c054f7e4a (commit)
from 4e32c424a00bc29e63176af9773f9ffa7aa09bc2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit 33eaa9accb90824ecc5c688326ba4c3c054f7e4a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 18 16:19:19 2009 +1100
s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()
Signed-off-by: Günther Deschner <gd at samba.org>
(cherry picked from commit fca02c9154796624958a877d2c92cabd65e9d0e4)
-----------------------------------------------------------------------
Summary of changes:
source3/torture/t_push_ucs2.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/torture/t_push_ucs2.c b/source3/torture/t_push_ucs2.c
index b9bf87b..2bd91da 100644
--- a/source3/torture/t_push_ucs2.c
+++ b/source3/torture/t_push_ucs2.c
@@ -14,16 +14,16 @@ static int check_push_ucs2(const char *orig)
int ret;
size_t converted_size;
- push_ucs2_allocate(&dest, orig, &converted_size);
- pull_ucs2_allocate(&orig2, dest, &converted_size);
+ push_ucs2_talloc(NULL, &dest, orig, &converted_size);
+ pull_ucs2_talloc(NULL, &orig2, dest, &converted_size);
ret = strcmp(orig, orig2);
if (ret) {
fprintf(stderr, "orig: %s\n", orig);
fprintf(stderr, "orig (UNIX -> UCS2 -> UNIX): %s\n", orig2);
}
- SAFE_FREE(dest);
- SAFE_FREE(orig2);
+ TALLOC_FREE(dest);
+ TALLOC_FREE(orig2);
return ret;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list