projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b11dd
)
(test_loaded): Prevent recursive calls.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 13 Dec 2002 22:56:32 +0000
(22:56 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 13 Dec 2002 22:56:32 +0000
(22:56 +0000)
nptl/forward.c
patch
|
blob
|
history
diff --git
a/nptl/forward.c
b/nptl/forward.c
index
491e0ca
..
441a7f2
100644
(file)
--- a/
nptl/forward.c
+++ b/
nptl/forward.c
@@
-31,6
+31,10
@@
static void *libpthread_handle;
static void
test_loaded (void)
{
+ /* While we are getting the result set the handle to (void *) -1 to
+ avoid recursive calls. */
+ libpthread_handle = (void *) -1l;
+
void *h = __libc_dlopen_mode ("libpthread.so.0", RTLD_LAZY | RTLD_NOLOAD);
libpthread_handle = h ?: (void *) -1l;