svn commit: samba r8494 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Fri Jul 15 12:16:39 GMT 2005


Author: tridge
Date: 2005-07-15 12:16:39 +0000 (Fri, 15 Jul 2005)
New Revision: 8494

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8494

Log:
fixed a bug in RAW-SFILEINFO that caused inconsistent results on different platforms


Modified:
   branches/SAMBA_4_0/source/torture/raw/setfileinfo.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/setfileinfo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/setfileinfo.c	2005-07-15 11:56:16 UTC (rev 8493)
+++ branches/SAMBA_4_0/source/torture/raw/setfileinfo.c	2005-07-15 12:16:39 UTC (rev 8494)
@@ -444,6 +444,8 @@
 	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);



More information about the samba-cvs mailing list