diff options
Diffstat (limited to 'shared/fileID.cpp')
-rw-r--r-- | shared/fileID.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/fileID.cpp b/shared/fileID.cpp index 09c63c2e..2c608afc 100644 --- a/shared/fileID.cpp +++ b/shared/fileID.cpp @@ -32,11 +32,11 @@ Utility::FileID Utility::retrieveFileID(const Zstring& filename) FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, - FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, //FILE_FLAG_BACKUP_SEMANTICS needed to open directories + FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, //FILE_FLAG_BACKUP_SEMANTICS needed to open a directory NULL); if (hFile != INVALID_HANDLE_VALUE) { - boost::shared_ptr<void> dummy(hFile, ::CloseHandle); + boost::shared_ptr<void> dummy(hFile, ::CloseHandle); BY_HANDLE_FILE_INFORMATION info; if (::GetFileInformationByHandle(hFile, &info)) |