You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/06/30 12:36:20 UTC
svn commit: r789658 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
Author: mturk
Date: Tue Jun 30 10:36:20 2009
New Revision: 789658
URL: http://svn.apache.org/viewvc?rev=789658&view=rev
Log:
Use FILE_FLAG_BACKUP_SEMANTICS so we can stat directories as well
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c?rev=789658&r1=789657&r2=789658&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c Tue Jun 30 10:36:20 2009
@@ -796,7 +796,7 @@
0,
NULL,
OPEN_EXISTING,
- 0,
+ FILE_FLAG_BACKUP_SEMANTICS,
NULL);
if (fh != INVALID_HANDLE_VALUE) {
BY_HANDLE_FILE_INFORMATION fi;