From 2f66d7483c9d897ad4fcd2fc3086b3eaeac43353 Mon Sep 17 00:00:00 2001 From: Brandon Amaro Date: Sat, 17 Feb 2018 14:58:48 -0800 Subject: [PATCH] Update 0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch Allows the patch to be applied --- ...-Move-code-to-update-user-shared-data-into-a-se.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/patches/ntdll-User_Shared_Data/0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch b/patches/ntdll-User_Shared_Data/0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch index f004c86e..aa874f2c 100644 --- a/patches/ntdll-User_Shared_Data/0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch +++ b/patches/ntdll-User_Shared_Data/0001-ntdll-Move-code-to-update-user-shared-data-into-a-se.patch @@ -23,7 +23,7 @@ diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 830dd3a030..a2c0cf48fd 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c -@@ -251,6 +251,26 @@ static ULONG_PTR get_image_addr(void) +@@ -351,6 +351,26 @@ static ULONG_PTR get_image_addr(void) } #endif @@ -50,15 +50,15 @@ index 830dd3a030..a2c0cf48fd 100644 /*********************************************************************** * thread_init * -@@ -264,7 +284,6 @@ HANDLE thread_init(void) - void *addr; +@@ -365,7 +385,6 @@ HANDLE thread_init(void) + BOOL suspend; SIZE_T size, info_size; HANDLE exe_file = 0; - LARGE_INTEGER now; NTSTATUS status; struct ntdll_thread_data *thread_data; static struct debug_info debug_info; /* debug info for initial thread */ -@@ -375,15 +394,8 @@ HANDLE thread_init(void) +@@ -477,15 +496,8 @@ HANDLE thread_init(void) wine_server_fd_to_handle( 2, GENERIC_WRITE|SYNCHRONIZE, OBJ_INHERIT, ¶ms.hStdError ); } @@ -78,4 +78,3 @@ index 830dd3a030..a2c0cf48fd 100644 NtCreateKeyedEvent( &keyed_event, GENERIC_READ | GENERIC_WRITE, NULL, 0 ); -- 2.12.2 -