Mercurial > vim
changeset 900:7bc38b35f1e8 v7.0.026
updated for version 7.0-026
author | vimboss |
---|---|
date | Thu, 22 Jun 2006 16:19:31 +0000 |
parents | 2981ad79c362 |
children | f959cda54600 |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -5757,8 +5757,13 @@ mch_libcall(libname, funcname, argstring 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