r4093 - glibc-package/branches/eglibc-2.11/debian/patches/any
Author: ps-guest
Date: 2010-01-18 10:20:43 +0000 (Mon, 18 Jan 2010)
New Revision: 4093
Modified:
glibc-package/branches/eglibc-2.11/debian/patches/any/local-linuxthreads-weak.diff
Log:
#define __rtld_lock_initialize also in linuxthreads <bits/libc-lock.h> variant
Modified: glibc-package/branches/eglibc-2.11/debian/patches/any/local-linuxthreads-weak.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/any/local-linuxthreads-weak.diff 2010-01-17 23:41:27 UTC (rev 4092)
+++ glibc-package/branches/eglibc-2.11/debian/patches/any/local-linuxthreads-weak.diff 2010-01-18 10:20:43 UTC (rev 4093)
@@ -15,6 +15,16 @@
#endif
/* Mutex type. */
+@@ -158,6 +162,9 @@
+ #define __rtld_lock_init_recursive(NAME) \
+ __libc_lock_init_recursive (NAME)
+
++#define __rtld_lock_initialize(NAME) \
++ (void) ((NAME) = (__rtld_lock_recursive_t) _RTLD_LOCK_RECURSIVE_INITIALIZER)
++
+ /* Finalize the named lock variable, which must be locked. It cannot be
+ used again until __libc_lock_init is called again on it. This must be
+ called on a lock variable before the containing storage is reused. */
@@ -379,8 +383,10 @@
weak_extern (__pthread_atfork)
weak_extern (BP_SYM (_pthread_cleanup_push))
Reply to: