[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-270-gfac9c35
Jelmer Vernooij
jelmer at samba.org
Sat Sep 12 18:04:00 MDT 2009
The branch, master has been updated
via fac9c35f99299497cfaad907c84830e7c57c013b (commit)
via 27f54a77a698c4994a209fd0b8fa89d5617a7bdd (commit)
via 4b5ca12f2c996321e741da68aed934dc4a3cdd35 (commit)
via ac72076ef924c986a1488a93a5c87b08f34b2569 (commit)
from 96a36bf06dd9b4df39499c4e82303c05cfe753a8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit fac9c35f99299497cfaad907c84830e7c57c013b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 13 01:59:48 2009 +0200
Fix string-wchar-fixed-array-03 test (when libndr is available).
commit 27f54a77a698c4994a209fd0b8fa89d5617a7bdd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 13 01:59:16 2009 +0200
Fix string-wchar-fixed-array-02 test (when libndr is available).
commit 4b5ca12f2c996321e741da68aed934dc4a3cdd35
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 13 01:58:11 2009 +0200
Fix string-wchar-fixed-array-01 test (when libndr is available).
commit ac72076ef924c986a1488a93a5c87b08f34b2569
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Sep 13 01:31:13 2009 +0200
pidl: Remove unnecessary _GNU_SOURCE define.
-----------------------------------------------------------------------
Summary of changes:
pidl/tests/Util.pm | 1 -
pidl/tests/ndr_string.pl | 16 ++++++++--------
2 files changed, 8 insertions(+), 9 deletions(-)
Changeset truncated at 500 lines:
diff --git a/pidl/tests/Util.pm b/pidl/tests/Util.pm
index cfc5cf3..ff876ec 100644
--- a/pidl/tests/Util.pm
+++ b/pidl/tests/Util.pm
@@ -77,7 +77,6 @@ SKIP: {
my $main = "
#define uint_t unsigned int
-#define _GNU_SOURCE
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/pidl/tests/ndr_string.pl b/pidl/tests/ndr_string.pl
index faecbbf..7b76c7b 100755
--- a/pidl/tests/ndr_string.pl
+++ b/pidl/tests/ndr_string.pl
@@ -70,7 +70,7 @@ test_samba4_ndr("string-wchar-fixed-array-01",
0x00, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00,
\'f\', 0x00, \'o\', 0x00,
- \'o\', 0x00, 0x00, 0x00
+ \'o\', 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00
};
DATA_BLOB b = { data, sizeof(data) };
@@ -86,16 +86,16 @@ test_samba4_ndr("string-wchar-fixed-array-01",
if (r.in.str == NULL)
return 2;
- if (r.in.str.l1 == 0x00000001)
+ if (r.in.str->l1 != 0x00000001)
return 3;
if (strncmp(str.str, "foo", 3) != 0)
return 4;
- if (r.in.str.str[4] != 0)
+ if (r.in.str->str[4] != 0)
return 5;
- if (r.in.str.l3 == 0x00000002)
+ if (r.in.str->l2 != 0x00000002)
return 6;
');
@@ -114,9 +114,9 @@ test_samba4_ndr("string-wchar-fixed-array-02",
0x00, 0x00, 0x00, 0x00,
0x06, 0x00, 0x00, 0x00,
\'f\', 0x00, \'o\', 0x00,
- \'o\', 0x00, \'b\', 0x00
+ \'o\', 0x00, \'b\', 0x00,
\'a\', 0x00, \'r\', 0x00,
- 0x00, 0x00, 0x00, 0x00
+ 0x00, 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00
};
DATA_BLOB b = { data, sizeof(data) };
@@ -146,9 +146,9 @@ test_samba4_ndr("string-wchar-fixed-array-03",
0x00, 0x00, 0x00, 0x00,
0x07, 0x00, 0x00, 0x00,
\'f\', 0x00, \'o\', 0x00,
- \'o\', 0x00, \'b\', 0x00
+ \'o\', 0x00, \'b\', 0x00,
\'a\', 0x00, \'r\', 0x00,
- 0x00, 0x00, 0x00, 0x00
+ 0x00, 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00
};
DATA_BLOB b = { data, sizeof(data) };
--
Samba Shared Repository
More information about the samba-cvs
mailing list