The branch, master has been updated
       via  ee97097783aa146b0b2f88c15f3764a420797e1a (commit)
      from  40a6a28170881e567d130c10bec700441423d1e8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ee97097783aa146b0b2f88c15f3764a420797e1a
Author: Matthias Dieter Wallnöfer <[EMAIL PROTECTED]>
Date:   Tue Sep 30 18:10:04 2008 +0200

    Use UTF8 rather than the possibly different UNIX charset.

-----------------------------------------------------------------------

Summary of changes:
 source4/lib/registry/tests/generic.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/registry/tests/generic.c 
b/source4/lib/registry/tests/generic.c
index 6eae26b..2b7eb83 100644
--- a/source4/lib/registry/tests/generic.c
+++ b/source4/lib/registry/tests/generic.c
@@ -53,7 +53,7 @@ static bool test_reg_val_data_string_dword(struct 
torture_context *ctx)
 static bool test_reg_val_data_string_sz(struct torture_context *ctx)
 {
        DATA_BLOB db;
-       db.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UNIX, CH_UTF16,
+       db.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UTF8, CH_UTF16,
                                          "bla", 3, (void **)&db.data);
        torture_assert_str_equal(ctx, "bla",
                                 reg_val_data_string(ctx, 
lp_iconv_convenience(ctx->lp_ctx), REG_SZ, db),
@@ -88,7 +88,7 @@ static bool test_reg_val_data_string_empty(struct 
torture_context *ctx)
 static bool test_reg_val_description(struct torture_context *ctx)
 {
        DATA_BLOB data;
-       data.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UNIX, CH_UTF16,
+       data.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UTF8, CH_UTF16,
                                            "stationary traveller",
                                            strlen("stationary traveller"),
                                            (void **)&data.data);
@@ -102,7 +102,7 @@ static bool test_reg_val_description(struct torture_context 
*ctx)
 static bool test_reg_val_description_nullname(struct torture_context *ctx)
 {
        DATA_BLOB data;
-       data.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UNIX, CH_UTF16,
+       data.length = convert_string_talloc(ctx, 
lp_iconv_convenience(ctx->lp_ctx), CH_UTF8, CH_UTF16,
                                            "west berlin",
                                            strlen("west berlin"),
                                            (void **)&data.data);


-- 
Samba Shared Repository

Reply via email to