]> granicus.if.org Git - vim/commitdiff
updated for version 7.4b.010 v7.4b.010
authorBram Moolenaar <Bram@vim.org>
Fri, 2 Aug 2013 18:05:32 +0000 (20:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 2 Aug 2013 18:05:32 +0000 (20:05 +0200)
Problem:    Win32: Tcl library load does not use standard mechanism.
Solution:   Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)

src/if_perl.xs
src/if_tcl.c
src/version.c

index 4c46f2abbf81281f6740730dc0873e325d1baa13..a2247f022c075c6e410c258fb867428bafe1f0ad 100644 (file)
@@ -495,7 +495,7 @@ static struct {
 /*
  * Make all runtime-links of perl.
  *
- * 1. Get module handle using LoadLibraryEx.
+ * 1. Get module handle using dlopen() or vimLoadLib().
  * 2. Get pointer to perl function by GetProcAddress.
  * 3. Repeat 2, until get all functions will be used.
  *
index 36ff32063f71e7078aee6bf32ce56d8ebd29b448..be9cd64cb3331e66c6e0bcac00d7d84c8f713f98 100644 (file)
@@ -195,7 +195,7 @@ tcl_runtime_link_init(char *libname, int verbose)
 
     if (hTclLib)
        return OK;
-    if (!(hTclLib = LoadLibraryEx(libname, NULL, 0)))
+    if (!(hTclLib = vimLoadLib(libname)))
     {
        if (verbose)
            EMSG2(_(e_loadlib), libname);
index 9b5343e9d6a48ef838fcc406ce65a1ff22692c22..61694a4672d2e7c3e27fc8eae17c8134c8802011 100644 (file)
@@ -727,6 +727,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    10,
 /**/
     9,
 /**/