Dmitry Timoshkov : ntdll: Make it possible to store FILE_APPEND_DATA access bit in the server fd cache .
Alexandre Julliard
julliard at winehq.org
Fri Oct 4 15:08:41 CDT 2013
Module: wine
Branch: master
Commit: ba372b92b55c05a85c3b051eefcba952b32ea014
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ba372b92b55c05a85c3b051eefcba952b32ea014
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Oct 2 14:00:40 2013 +0900
ntdll: Make it possible to store FILE_APPEND_DATA access bit in the server fd cache.
---
dlls/ntdll/server.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c
index f77bacf..9b3aeef 100644
--- a/dlls/ntdll/server.c
+++ b/dlls/ntdll/server.c
@@ -790,8 +790,8 @@ static int receive_fd( obj_handle_t *handle )
struct fd_cache_entry
{
int fd;
- enum server_fd_type type : 6;
- unsigned int access : 2;
+ enum server_fd_type type : 5;
+ unsigned int access : 3;
unsigned int options : 24;
};
@@ -899,7 +899,7 @@ int server_get_unix_fd( HANDLE handle, unsigned int wanted_access, int *unix_fd,
*unix_fd = -1;
*needs_close = 0;
- wanted_access &= FILE_READ_DATA | FILE_WRITE_DATA;
+ wanted_access &= FILE_READ_DATA | FILE_WRITE_DATA | FILE_APPEND_DATA;
server_enter_uninterrupted_section( &fd_cache_section, &sigset );
More information about the wine-cvs
mailing list