From fc5639626166fdff83da100e5914ec246ab29b9e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Jul 2005 12:16:39 +0000 Subject: r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on different platforms (This used to be commit 9264555541a0e251730010a75d063f56971249a2) --- source4/torture/raw/setfileinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c index cbfb6aa6a1..50ace8aa06 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -444,6 +444,8 @@ BOOL torture_raw_sfileinfo(void) fnum = fnum_saved; printf("Trying rename with dest file open and delete_on_close\n"); + sfinfo.rename_information.in.new_name = fnum_fname+strlen(BASEDIR)+1; + sfinfo.rename_information.in.overwrite = 1; CHECK_CALL_FNUM(RENAME_INFORMATION, NT_STATUS_ACCESS_DENIED); smbcli_close(cli->tree, fnum2); -- cgit