commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r789658 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
Date Tue, 30 Jun 2009 10:36:20 GMT
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;



Mime
View raw message