[Box Backup-commit] COMMIT r955 - box/chris/merge/lib/win32

subversion at fluffy.co.uk subversion at fluffy.co.uk
Mon Sep 4 00:52:19 BST 2006


Author: chris
Date: 2006-09-04 00:52:19 +0100 (Mon, 04 Sep 2006)
New Revision: 955

Modified:
   box/chris/merge/lib/win32/emu.cpp
Log:
(refs #3)

Request READ_CONTROL when standard open fails, rather than no flags


Modified: box/chris/merge/lib/win32/emu.cpp
===================================================================
--- box/chris/merge/lib/win32/emu.cpp	2006-09-03 23:51:22 UTC (rev 954)
+++ box/chris/merge/lib/win32/emu.cpp	2006-09-03 23:52:19 UTC (rev 955)
@@ -716,7 +716,7 @@
 		// at least one process must have the file open - 
 		// in this case someone else does.
 		handle = CreateFileW(pBuffer, 
-			0, 
+			READ_CONTROL,
 			FILE_SHARE_READ, 
 			NULL, 
 			OPEN_EXISTING, 




More information about the Boxbackup-commit mailing list