diff --git a/src/os_unix.c b/src/os_unix.c index 0059d30816..b3754689d7 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5757,8 +5757,13 @@ mch_libcall(libname, funcname, argstring, argint, string_result, number_result) int retval_int = 0; int success = FALSE; - /* Get a handle to the DLL module. */ + /* + * Get a handle to the DLL module. + */ # if defined(USE_DLOPEN) + /* First clear any error, it's not cleared by the dlopen() call. */ + (void)dlerror(); + hinstLib = dlopen((char *)libname, RTLD_LAZY # ifdef RTLD_LOCAL | RTLD_LOCAL diff --git a/src/version.c b/src/version.c index 31af61d06e..b60ede600a 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 26, /**/ 25, /**/