From 4f913d91cb75377555d2858becde0f34ab7f6f49 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Sep 2006 03:50:15 +0000 Subject: r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\ (This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f) --- source4/torture/basic/charset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c index 44875c6b8f..d7e53ae92a 100644 --- a/source4/torture/basic/charset.c +++ b/source4/torture/basic/charset.c @@ -26,7 +26,7 @@ #include "libcli/libcli.h" #include "torture/util.h" -#define BASEDIR "\\chartest\\" +#define BASEDIR "\\chartest" /* open a file using a set of unicode code points for the name @@ -62,7 +62,7 @@ static NTSTATUS unicode_open(struct smbcli_tree *tree, return NT_STATUS_NO_MEMORY; } - fname2 = talloc_asprintf(ucs_name, "%s%s", BASEDIR, fname); + fname2 = talloc_asprintf(ucs_name, "%s\\%s", BASEDIR, fname); if (!fname2) { talloc_free(ucs_name); return NT_STATUS_NO_MEMORY; -- cgit