projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95181d9
)
windows use right perversion flgs
author
Andy Green
<andy.green@linaro.org>
Thu, 10 Dec 2015 04:56:46 +0000
(12:56 +0800)
committer
Andy Green
<andy.green@linaro.org>
Thu, 10 Dec 2015 04:56:46 +0000
(12:56 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/lws-plat-win.c
patch
|
blob
|
history
diff --git
a/lib/lws-plat-win.c
b/lib/lws-plat-win.c
index
f7afd99
..
244ae6b
100644
(file)
--- a/
lib/lws-plat-win.c
+++ b/
lib/lws-plat-win.c
@@
-417,7
+417,7
@@
_lws_plat_file_open(const char *filename, unsigned long *filelen, int flags)
WCHAR buf[MAX_PATH];
MultiByteToWideChar(CP_UTF8, 0, filename, -1, buf, ARRAY_SIZE(buf));
- if (flags & O_RDONLY) {
+ if (flags &
_
O_RDONLY) {
ret = CreateFileW(buf, GENERIC_READ, FILE_SHARE_READ,
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
} else {