This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"H . J . Lu" <hjl@valinux.com> writes: > --- iconv/gconv_dl.c 2000/09/05 04:02:03 1.1.1.3 > +++ iconv/gconv_dl.c 2000/09/08 18:21:01 > @@ -164,8 +164,6 @@ do_release_shlib (const void *nodep, VIS > } > else if (obj->counter <= 0) > { > - if (obj->counter >= -TRIES_BEFORE_UNLOAD) > - --obj->counter; > if (obj->counter < -TRIES_BEFORE_UNLOAD && obj->handle != NULL) > { > /* Unload the shared object. */ The code as it is is ok. Without it nothing would get unloaded. I just checked in a patch to make things a bit clearer (at least to me) but it should not have caused any problems. If something happened at this place the problem is somewhere else. -- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |