mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
Update.
2000-05-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. (_dl_vsym): Likewise. Reported by Owen Taylor <otaylor@redhat.com>. * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini always.
This commit is contained in:
@@ -74,7 +74,7 @@ RTLD_NEXT used in code not dynamically loaded"));
|
||||
}
|
||||
}
|
||||
|
||||
if (result)
|
||||
if (ref)
|
||||
return DL_SYMBOL_ADDRESS (result, ref);
|
||||
|
||||
return NULL;
|
||||
@@ -130,7 +130,7 @@ RTLD_NEXT used in code not dynamically loaded"));
|
||||
map->l_local_scope, &vers, 0);
|
||||
}
|
||||
|
||||
if (result)
|
||||
if (ref)
|
||||
return DL_SYMBOL_ADDRESS (result, ref);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user