1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

* elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,

it has been incremented before.
This commit is contained in:
Ulrich Drepper
2005-03-19 07:51:35 +00:00
parent c3381f3eb2
commit a2f7570bdd
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2005-03-19 Jakub Jelinek <jakub@redhat.com>
* elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
it has been incremented before.
2005-03-18 Ulrich Drepper <drepper@redhat.com> 2005-03-18 Ulrich Drepper <drepper@redhat.com>
* elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate

View File

@@ -282,7 +282,7 @@ dl_open_worker (void *a)
/* Let the user know about the opencount. */ /* Let the user know about the opencount. */
if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0)) if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0))
_dl_debug_printf ("opening file=%s [%lu]; direct_opencount=%u\n\n", _dl_debug_printf ("opening file=%s [%lu]; direct_opencount=%u\n\n",
new->l_name, new->l_ns, new->l_direct_opencount + 1); new->l_name, new->l_ns, new->l_direct_opencount);
/* If the user requested the object to be in the global namespace /* If the user requested the object to be in the global namespace
but it is not so far, add it now. */ but it is not so far, add it now. */