diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 07:49:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 07:49:11 +0000 |
commit | bc01c2255ceaa46b89fcd16b4a249995fe082a9b (patch) | |
tree | 1b6b689adab663b4b93bc7a385e742e99b6c11ad /main/uclibc/uclibc-linuxthreads-init-stdio.patch | |
parent | 3263802a847e849daad45ed0f15e7ed3f7cc166f (diff) | |
download | aports-bc01c2255ceaa46b89fcd16b4a249995fe082a9b.tar.bz2 aports-bc01c2255ceaa46b89fcd16b4a249995fe082a9b.tar.xz |
main/uclibc: removed. replaced with libc0.9.32
Diffstat (limited to 'main/uclibc/uclibc-linuxthreads-init-stdio.patch')
-rw-r--r-- | main/uclibc/uclibc-linuxthreads-init-stdio.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/main/uclibc/uclibc-linuxthreads-init-stdio.patch b/main/uclibc/uclibc-linuxthreads-init-stdio.patch deleted file mode 100644 index aa5ef6460..000000000 --- a/main/uclibc/uclibc-linuxthreads-init-stdio.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c -index 6ae9a10..151e039 100644 ---- a/libpthread/linuxthreads/pthread.c -+++ b/libpthread/linuxthreads/pthread.c -@@ -409,6 +409,16 @@ cannot allocate TLS data structures for initial thread\n"; - #endif - - __libc_multiple_threads_ptr = __libc_pthread_init (ptr_pthread_functions); -+ /* uClibc-specific stdio initialization for threads. */ -+ { -+ FILE *fp; -+ _stdio_user_locking = 0; /* 2 if threading not initialized */ -+ for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) { -+ if (fp->__user_locking != 1) { -+ fp->__user_locking = 0; -+ } -+ } -+ } - } - - |