diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-12 16:56:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-12 16:56:14 +0000 |
commit | 2d1dc453e3550d8f8b3796a376f26e7ddee58caa (patch) | |
tree | 8955eba5229dc336cfcea5c95a012804e7a04de1 /plugins/Dbx_mdb/src/dbintf.cpp | |
parent | 256658520668e10007764fe9054e48b7a286c3fd (diff) |
fix for the LMDB profile sharing
git-svn-id: http://svn.miranda-ng.org/main/trunk@12387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbintf.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/dbintf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbintf.cpp b/plugins/Dbx_mdb/src/dbintf.cpp index b4a13a78f3..728eb26f07 100644 --- a/plugins/Dbx_mdb/src/dbintf.cpp +++ b/plugins/Dbx_mdb/src/dbintf.cpp @@ -151,7 +151,7 @@ int CDbxMdb::Create(void) int CDbxMdb::Check(void)
{
- HANDLE hFile = CreateFile(m_tszProfileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
+ HANDLE hFile = CreateFile(m_tszProfileName, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
if (hFile == INVALID_HANDLE_VALUE)
return EGROKPRF_CANTREAD;
|