http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6366f
)
kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.
author
Alexandre Julliard
<julliard@winehq.org>
Fri, 14 Mar 2008 19:30:53 +0000
(20:30 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Sat, 15 Mar 2008 09:58:38 +0000
(10:58 +0100)
dlls/kernel32/file.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/kernel32/file.c
b/dlls/kernel32/file.c
index 8c6f40492e04a9aec8a833e832e0c929dfa8c367..0498dc77122b0e180c25cb84a609b85d793adec7 100644
(file)
--- a/
dlls/kernel32/file.c
+++ b/
dlls/kernel32/file.c
@@
-1385,6
+1385,8
@@
HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
options |= FILE_DELETE_ON_CLOSE;
access |= DELETE;
}
+ if (attributes & FILE_FLAG_NO_BUFFERING)
+ options |= FILE_NO_INTERMEDIATE_BUFFERING;
if (!(attributes & FILE_FLAG_OVERLAPPED))
options |= FILE_SYNCHRONOUS_IO_ALERT;
if (attributes & FILE_FLAG_RANDOM_ACCESS)