aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eina/eina_file_win32.c
diff options
context:
space:
mode:
authorMichelle Legrand <legrand.michelle@outlook.com>2015-02-11 10:00:10 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-12 07:43:58 +0100
commitb36e2fc701865db12c21fc94e92f52cc2471ab47 (patch)
tree388442675ac035a7d1ce99f1f27e2b80b4ed5c5a /src/lib/eina/eina_file_win32.c
parentEvas masking: Fix rendering of masks into invalid surfaces (GL) (diff)
downloadefl-b36e2fc701865db12c21fc94e92f52cc2471ab47.tar.gz
eina: add more access to created file.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/eina/eina_file_win32.c')
-rw-r--r--src/lib/eina/eina_file_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_file_win32.c b/src/lib/eina/eina_file_win32.c
index 9987fdfb4c..efdb8eb37c 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)