From 45bd82dd5c12ba465d85b979a9264ccea4784ff5 Mon Sep 17 00:00:00 2001 From: Alexis Wilke Date: Mon, 2 Jan 2006 08:34:03 +0000 Subject: [PATCH] * libltdl/ltdl.c (LT_DLMUTEX_GETERROR): check if `lt_dlmutex_geterror_func' is set instead of `lt_dlmutex_seterror_func'. --- ChangeLog | 6 ++++++ libltdl/ltdl.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f65c547e..c842d65b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-02 Alexis Wilke + + * 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 * README-alpha: Another instance of anon cvs location. diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 3da37c85c..704fcd1c7 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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 -- 2.47.3