You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to mark WritePrivateProfileStringA as hotpatchable.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From a4e1225137261af63dcfafbbbe7df4aaadae62e5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Fri, 2 Oct 2015 17:28:15 +0200
|
||||
Subject: kernel32: Mark WritePrivateProfileStringA as hotpatchable.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Michael Müller <michael@fds-team.de>
|
||||
---
|
||||
dlls/kernel32/profile.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/kernel32/profile.c b/dlls/kernel32/profile.c
|
||||
index a9a11b1..aad3ba3 100644
|
||||
--- a/dlls/kernel32/profile.c
|
||||
+++ b/dlls/kernel32/profile.c
|
||||
@@ -1402,8 +1402,8 @@ BOOL WINAPI WritePrivateProfileStringW( LPCWSTR section, LPCWSTR entry,
|
||||
/***********************************************************************
|
||||
* WritePrivateProfileStringA (KERNEL32.@)
|
||||
*/
|
||||
-BOOL WINAPI WritePrivateProfileStringA( LPCSTR section, LPCSTR entry,
|
||||
- LPCSTR string, LPCSTR filename )
|
||||
+BOOL WINAPI DECLSPEC_HOTPATCH WritePrivateProfileStringA( LPCSTR section, LPCSTR entry,
|
||||
+ LPCSTR string, LPCSTR filename )
|
||||
{
|
||||
UNICODE_STRING sectionW, entryW, stringW, filenameW;
|
||||
BOOL ret;
|
||||
--
|
||||
2.5.1
|
||||
|
||||
1
patches/kernel32-Hotpatching/definition
Normal file
1
patches/kernel32-Hotpatching/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: WritePrivateProfileStringA should be hotpatchable
|
||||
Reference in New Issue
Block a user