Rewritten for thread-safetyness if ld.so.
authordrepper <drepper>
Sun, 6 Sep 1998 09:08:41 +0000 (09:08 +0000)
committerdrepper <drepper>
Sun, 6 Sep 1998 09:08:41 +0000 (09:08 +0000)
iconv/gconv_dl.c

index e0471b0..1c04dee 100644 (file)
@@ -100,10 +100,10 @@ static void
 get_sym (void *a)
 {
   struct get_sym_args *args = (struct get_sym_args *) a;
-  struct link_map *scope[2] = { args->map, NULL };
   args->ref = NULL;
   args->loadbase = _dl_lookup_symbol (args->name, &args->ref,
-                                     scope, args->map->l_name, 0);
+                                     args->map->l_local_scope,
+                                     args->map->l_name, 0);
 }