openbsd-ports/devel/libtool/patches/patch-libltdl_ltdl_c
brad c9d7b7c2f1 rev 1.174.2.21
(LT_DLMUTEX_GETERROR): check if `lt_dlmutex_geterror_func' is set
instead of `lt_dlmutex_seterror_func'.

From libtool CVS
2006-01-07 21:28:41 +00:00

13 lines
555 B
Plaintext

$OpenBSD: patch-libltdl_ltdl_c,v 1.1 2006/01/07 21:28:41 brad Exp $
--- libltdl/ltdl.c.orig Sat Jan 7 16:10:47 2006
+++ libltdl/ltdl.c Sat Jan 7 16:11:48 2006
@@ -894,7 +894,7 @@ static const char sys_search_path[] = LT
(*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