[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd

Alexandre Julliard julliard at winehq.org
Thu Oct 30 14:44:10 UTC 2008


The following commit has been merged in the lenny branch:
commit 004278cb811e9044990b3d5da8dc28ecfcbc2775
Author: Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>
Date:   Fri Sep 19 17:43:21 2008 +0200

    kernel32: Fix profile sharing mode.
    
    Based on a patch from Austin English.
    (cherry picked from commit 33ca67dcab8e99d2fddbd2d3a11d73b21ba0ef41)

diff --git a/dlls/kernel32/profile.c b/dlls/kernel32/profile.c
index 9b6b1a1..6820218 100644
--- a/dlls/kernel32/profile.c
+++ b/dlls/kernel32/profile.c
@@ -755,7 +755,7 @@ static BOOL PROFILE_Open( LPCWSTR filename, BOOL write_access )
     TRACE("path: %s\n", debugstr_w(buffer));
 
     hFile = CreateFileW(buffer, GENERIC_READ | (write_access ? GENERIC_WRITE : 0),
-                        FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
+                        FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL,
                         OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
 
     if ((hFile == INVALID_HANDLE_VALUE) && (GetLastError() != ERROR_FILE_NOT_FOUND))

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list