about summary refs log tree commit diff
path: root/dlfcn/errmsg1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-03 04:50:22 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-03 04:50:22 +0000
commitfb0dd050432c6e439618ebcabeab061733aa75bd (patch)
tree6ef8809b9c2f15c2d2c44d4f4f746646c9c4bc30 /dlfcn/errmsg1.c
parent3470b82679c30642a7a9e3b9e59cd12afb957761 (diff)
downloadglibc-fb0dd050432c6e439618ebcabeab061733aa75bd.tar.gz
glibc-fb0dd050432c6e439618ebcabeab061733aa75bd.tar.xz
glibc-fb0dd050432c6e439618ebcabeab061733aa75bd.zip
Update.
	* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
	Suggested by Minko Markov <mmarkov@home.com>.

2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/elf/start.S (__data_start): Make it global.
	* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
	the failing symbol.
	(__process_machine_rela): Pass symbol to dl_reloc_overflow().

2001-01-02  Ben Collins  <bcollins@debian.org>

	* time/tzset.c (tzset_internal): Make sure we fall back to UTC
	if TZ is not set and TZDEFAULT is not present.

2001-01-01  Ben Collins  <bcollins@debian.org>

	* string/strings.h: Make sure we declare our functions even if
	string.h is already included, based on whether or not __USE_BSD is
	defined.

2001-01-02  Ulrich Drepper  <drepper@redhat.com>

	* dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
	other dlopen() and dlsym().
	Based on a patch by Ben Collins <bcollins@debian.org>.

2001-01-02  Andreas Jaeger  <aj@suse.de>

	* dlfcn/errmsg1.c (main): Call dlerror initially.
	Reported by Ben Collins <bcollins@debian.org>.

2001-01-02  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'dlfcn/errmsg1.c')
-rw-r--r--dlfcn/errmsg1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dlfcn/errmsg1.c b/dlfcn/errmsg1.c
index a7bb9b8272..b455ea97a5 100644
--- a/dlfcn/errmsg1.c
+++ b/dlfcn/errmsg1.c
@@ -27,6 +27,12 @@ main (void)
   void *h;
   const char *s;
 
+  /* Test that dlerror works initially.  */
+  s = dlerror ();
+  printf ("dlerror() without prior dl*() call returned: %s\n", s);
+  if (s != NULL)
+    return 1;
+
   h = dlopen ("errmsg1mod.so", RTLD_NOW);
   if (h != NULL)
     {