Patch for Bug #1722

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is the patch for bug 1722.

Wine 20030911 does not compile with egcs-2.91.xx & libc5-1.0-3

Regards.

diff -urN wine-20030911.orig/scheduler/pthread.c wine-20030911/scheduler/pthread.c
--- wine-20030911.orig/scheduler/pthread.c	Thu Sep 11 03:09:09 2003
+++ wine-20030911/scheduler/pthread.c	Thu Sep 18 10:41:02 2003
@@ -94,6 +94,12 @@
     return descr;
 }
 
+struct __res_state *__res_state(void)
+{
+    pthread_descr descr = __pthread_thread_self();
+    return &descr->res_state;
+}
+
 static int (*libc_uselocale)(int set);
 static int *libc_multiple_threads;
 
@@ -260,12 +266,6 @@
 
 strong_alias(__pthread_thread_self, pthread_thread_self);
 
-struct __res_state *__res_state(void)
-{
-    pthread_descr descr = __pthread_thread_self();
-    return &descr->res_state;
-}
-
 /* redefine this to prevent libpthread from overriding our function pointers */
 int *__libc_pthread_init( const struct pthread_functions *funcs )
 {

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux