]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (LT_DLMUTEX_GETERROR): check if
authorAlexis Wilke <alexis_wilke@yahoo.com>
Mon, 2 Jan 2006 08:34:03 +0000 (08:34 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 2 Jan 2006 08:34:03 +0000 (08:34 +0000)
`lt_dlmutex_geterror_func' is set instead of
`lt_dlmutex_seterror_func'.

ChangeLog
libltdl/ltdl.c

index 0f65c547e3e633fcc0c13c40e3726493f49e385f..c842d65b7ccc198522054f602bf01f8e0fad258b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-02  Alexis Wilke  <alexis_wilke@yahoo.com>
+
+       * libltdl/ltdl.c (LT_DLMUTEX_GETERROR): check if
+       `lt_dlmutex_geterror_func' is set instead of
+       `lt_dlmutex_seterror_func'.
+
 2005-12-20  Eric Blake  <ebb9@byu.net>
 
        * README-alpha: Another instance of anon cvs location.
index 3da37c85c64dfb186ab45adc4831bbb9fe2851d3..704fcd1c7135b572e6bb3857868d8f219a176f7f 100644 (file)
@@ -894,7 +894,7 @@ static      const char      sys_search_path[]       = LTDL_SYSSEARCHPATH;
                (*lt_dlmutex_seterror_func) (errormsg);         \
        else    lt_dllast_error = (errormsg);   } LT_STMT_END
 #define LT_DLMUTEX_GETERROR(errormsg)          LT_STMT_START { \
-       if (lt_dlmutex_seterror_func)                           \
+       if (lt_dlmutex_geterror_func)                           \
                (errormsg) = (*lt_dlmutex_geterror_func) ();    \
        else    (errormsg) = lt_dllast_error;   } LT_STMT_END