From baa3334acc20834b32be1abf96f5942367c31a06 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 6 Sep 1998 15:16:11 +0000 Subject: Update. 1998-09-06 15:13 Ulrich Drepper * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test for use of global scope. * elf/dlvsym.c (dlvsym_doit): Likewise. 1998-09-02 Paul Eggert * strftime.c (my_strftime): When mbrlen returns (size_t) -2, copy the redundant bytes at the end of the format as-is; don't just copy their first byte and then rescan, as that might get us an encoding error. Account correctly for the length of multibyte sequences in the format. 1998-09-03 20:14 Tim Waugh * posix/wordexp-test.c: Add tests for different IFS values. Change unquoted-newline test so that newline is not in IFS. * posix/wordexp.c (wordexp): Correct null/unset mix-up when determining IFS characters. Return WRDE_BADCHAR for unquoted special characters _except_ if they are separators. 1998-09-06 10:56 Ulrich Drepper * include/tgmath.h: New file. * libio/stdio.h: Correct reversed #ifs. Patch by Zack Weinberg. * manual/creature.texi: Better explain reason for feature select macros. Patch by Michael Deutschmann . 1998-09-06 10:25 -0400 Zack Weinberg * include/alloca.h: Add multiple-inclusion guard. * include/db.h: Likewise. * include/db_185.h: Likewise. * include/fcntl.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/mntent.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/search.h: Likewise. * include/setjmp.h: Likewise. * include/shadow.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. * include/sys/select.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/statfs.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/wait.h: Likewise. * include/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT. --- elf/dlsym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/dlsym.c') diff --git a/elf/dlsym.c b/elf/dlsym.c index ed786a2625..64d0cabbd4 100644 --- a/elf/dlsym.c +++ b/elf/dlsym.c @@ -41,7 +41,7 @@ dlsym_doit (void *a) struct dlsym_args *args = (struct dlsym_args *) a; args->ref = NULL; - if (args->handle == NULL) + if (args->handle == RTLD_DEFAULT) /* Search the global scope. */ args->loadbase = _dl_lookup_symbol (args->name, &args->ref, _dl_global_scope, NULL, 0); -- cgit 1.4.1