]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
authorGary V. Vaughan <gary@gnu.org>
Wed, 15 Aug 2001 00:01:46 +0000 (00:01 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 15 Aug 2001 00:01:46 +0000 (00:01 +0000)
either, due to a pair of typos.  Now fixed.

ChangeLog
libltdl/ltdl.c

index 26ec25d4f43e857a086bd7c01010ec96c3ef08d8..27d30b8022bff04ca2b343ca3001254e46d5a608 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-08-15  Gary V. Vaughan  <gary@gnu.org>
 
+       * libltdl/ltdl.c (lt_dlseterror): Oops.  This never worked
+       either, due to a pair of typos.  Now fixed.
+
        * libltdl/ltdl.c (N_ELEMENTS):  Deleted.  How come nobody noticed
        there was no way this could have ever worked?
        (lt_dlcaller_set_data): Now that valid caller_ids must be
index 61e3b71587b432532018a637e790a9031525fea4..577ee2ac142c96ffc3fac0242c6eaa6c5af9ffb9 100644 (file)
@@ -824,12 +824,12 @@ lt_dlseterror (errindex)
   else if (errindex < LT_ERROR_MAX)
     {
       /* No error setting the error message! */
-      LT_DLMUTEX_SETERROR (lt_dlerror_strings[errorcount]);
+      LT_DLMUTEX_SETERROR (lt_dlerror_strings[errindex]);
     }
   else
     {
       /* No error setting the error message! */
-      LT_DLMUTEX_SETERROR (user_error_strings[errorcount - LT_ERROR_MAX]);
+      LT_DLMUTEX_SETERROR (user_error_strings[errindex - LT_ERROR_MAX]);
     }
 
   LT_DLMUTEX_UNLOCK ();