commit | 923d582f0769af65dc79bf6cad884e96989c8915 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Mon Nov 23 17:24:09 2009 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Nov 23 17:24:45 2009 +0100 |
tree | ccdfafc4f83c9daad2b51eed0170364b8e4fa36f | |
parent | fd504b62899bb8d5d01a2f064ccd368fe7aa6297 [diff] [blame] |
server: Implement the file sharing check when truncating a file that has an existing mapping.
diff --git a/server/mapping.c b/server/mapping.c index d8bc527..1cf53b9 100644 --- a/server/mapping.c +++ b/server/mapping.c
@@ -457,7 +457,7 @@ if (handle) { - unsigned int mapping_access = 0; + unsigned int mapping_access = FILE_MAPPING_ACCESS; if (!(protect & VPROT_COMMITTED)) {