[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Tue Mar 30 09:27:20 MDT 2010
The branch, master has been updated
via 65d1d41... s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
from 01f1f87... s4:registry/tests/diff.c - try to make also this test compatible with big-endian platforms
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 65d1d4184483036a7ba159ad28b29001c0ec8b4e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 17:24:15 2010 +0200
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
-----------------------------------------------------------------------
Summary of changes:
source4/torture/basic/denytest.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c
index 2019ec5..81e90f8 100644
--- a/source4/torture/basic/denytest.c
+++ b/source4/torture/basic/denytest.c
@@ -2095,11 +2095,11 @@ static int cxd_find_known(struct createx_data *cxd)
return -1;
}
-#define FILL_NTCREATEX(_struct, _init...) \
- do { \
- (_struct)->generic.level = RAW_OPEN_NTCREATEX; \
- (_struct)->ntcreatex.in \
- = (typeof((_struct)->ntcreatex.in)) {_init};\
+#define FILL_NTCREATEX(_struct, _init...) \
+ do { \
+ (_struct)->generic.level = RAW_OPEN_NTCREATEX; \
+ (_struct)->ntcreatex.in \
+ = (__typeof__((_struct)->ntcreatex.in)) {_init}; \
} while (0)
#define CREATEX_NAME "\\createx_dir"
--
Samba Shared Repository
More information about the samba-cvs
mailing list