aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-02 19:56:07 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-02 19:56:07 +0000
commit249fd241a225b3b3723e55f7051ed4c7bf726e78 (patch)
treedca2d8bc5e471a1204af4f506a2b3a9df5dd16bc /elf
parentff5fad1641bbd3b76501e01467b179c6aa6421b8 (diff)
downloadglibc-249fd241a225b3b3723e55f7051ed4c7bf726e78.zip
glibc-249fd241a225b3b3723e55f7051ed4c7bf726e78.tar.gz
glibc-249fd241a225b3b3723e55f7051ed4c7bf726e78.tar.bz2
Update.
1999-08-02 Thorsten Kukuk <kukuk@suse.de> * nis/nis_callback.c (internal_nis_do_callback) use poll() instead of select(). 1999-08-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/s_nextafter.c: Define __nexttoward and nexttoward so something else so that aliasing works. 1999-08-02 Thorsten Kukuk <kukuk@suse.de> * sysdeps/generic/math_ldbl.h: Fix typo. * sysdeps/generic/strtold.c: Remove unbalanced #endif. * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c. 1999-08-02 Ulrich Drepper <drepper@cygnus.com> * elf/resolvfail.c: Include stdio.h. Also test dlerror.
Diffstat (limited to 'elf')
-rw-r--r--elf/resolvfail.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/resolvfail.c b/elf/resolvfail.c
index 9dd5cbe..ebd635d 100644
--- a/elf/resolvfail.c
+++ b/elf/resolvfail.c
@@ -1,4 +1,5 @@
#include <dlfcn.h>
+#include <stdio.h>
static const char obj[] = "testobj1.so";
@@ -20,6 +21,11 @@ main (void)
puts ("dlsym() did not fail");
return 1;
}
+ else if (dlerror () == NULL)
+ {
+ puts ("dlerror() didn't return a string");
+ return 1;
+ }
return 0;
}