cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b36e2fc701865db12c21fc94e92f52cc2471ab47

commit b36e2fc701865db12c21fc94e92f52cc2471ab47
Author: Michelle Legrand <legrand.miche...@outlook.com>
Date:   Wed Feb 11 10:00:10 2015 +0100

    eina: add more access to created file.
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/eina/eina_file_win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eina/eina_file_win32.c b/src/lib/eina/eina_file_win32.c
index 9987fdf..efdb8eb 100644
--- a/src/lib/eina/eina_file_win32.c
+++ b/src/lib/eina/eina_file_win32.c
@@ -730,8 +730,8 @@ eina_file_open(const char *path, Eina_Bool shared)
    else
 #endif
      handle = CreateFile(filename,
-                         GENERIC_READ, FILE_SHARE_READ,
-                         NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY,
+                         GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE,
+                         NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
                          NULL);
 
    if (handle == INVALID_HANDLE_VALUE)

-- 


Reply via email to