summaryrefslogtreecommitdiff
path: root/app-emulation/wine/files/wine-1.7.39-gstreamer-v5-staging-pre.patch
blob: 81aa699be94c3a970b122877fea00d71d80b4fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 1527fb44c331f2c61224514beb758895a5f85c8d Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Thu, 19 Mar 2015 07:51:48 +0100
Subject: Revert various changes conflicting with Maarten Lankhorst's gstreamer
 hack v5.

Note: These changes have to be reapplied with the corresponding -post patchset
afterwards.
---
 dlls/ntdll/thread.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 30a4720..843be0f 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -385,8 +385,6 @@ void terminate_thread( int status )
 void exit_thread( int status )
 {
     static void *prev_teb;
-    shmlocal_t *shmlocal;
-    sigset_t sigset;
     TEB *teb;
 
     if (status)  /* send the exit code to the server (0 is already the default) */
@@ -425,11 +423,6 @@ void exit_thread( int status )
         }
     }
 
-    sigemptyset( &sigset );
-    sigaddset( &sigset, SIGQUIT );
-    pthread_sigmask( SIG_BLOCK, &sigset, NULL );
-    if (interlocked_xchg_add( &nb_threads, -1 ) <= 1) _exit( status );
-
     close( ntdll_get_thread_data()->wait_fd[0] );
     close( ntdll_get_thread_data()->wait_fd[1] );
     close( ntdll_get_thread_data()->reply_fd );
-- 
2.3.2