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:
e791bd9
)
(do_release_all): Call __libc_dlclose as many times as we opened the module.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Nov 2002 01:58:35 +0000
(
01:58
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Nov 2002 01:58:35 +0000
(
01:58
+0000)
iconv/gconv_dl.c
patch
|
blob
|
history
diff --git
a/iconv/gconv_dl.c
b/iconv/gconv_dl.c
index
cc7627a
..
0bf6129
100644
(file)
--- a/
iconv/gconv_dl.c
+++ b/
iconv/gconv_dl.c
@@
-198,7
+198,9
@@
do_release_all (void *nodep)
/* Unload the shared object. */
if (obj->handle != NULL)
- __libc_dlclose (obj->handle);
+ do
+ __libc_dlclose (obj->handle);
+ while (--obj->counter > 0);
free (obj);
}