1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:30:16 +02:00

Avoid endless recursion in uClibc pthreads.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2008-09-22 22:51:53 +00:00
parent 093822cb53
commit 5f2ecf82f0

View File

@ -0,0 +1,14 @@
diff -urN uClibc-0.9.29.orig/libpthread/linuxthreads.old/pthread.c uClibc-0.9.29/libpthread/linuxthreads.old/pthread.c
--- uClibc-0.9.29.orig/libpthread/linuxthreads.old/pthread.c 2008-09-18 06:18:00.000000000 +0200
+++ uClibc-0.9.29/libpthread/linuxthreads.old/pthread.c 2008-09-18 06:19:06.000000000 +0200
@@ -335,9 +335,9 @@
.ptr_pthread_raise = pthread_raise,
.ptr__pthread_cleanup_push = _pthread_cleanup_push,
.ptr__pthread_cleanup_pop = _pthread_cleanup_pop
-*/
.ptr__pthread_cleanup_push_defer = _pthread_cleanup_push_defer,
.ptr__pthread_cleanup_pop_restore = _pthread_cleanup_pop_restore,
+*/
};
#ifdef SHARED
# define ptr_pthread_functions &__pthread_functions