Skip to content

Commit f447a82

Browse files
committed
updated for version 7.4b.010
Problem: Win32: Tcl library load does not use standard mechanism. Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
1 parent 6c35f58 commit f447a82

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/if_perl.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ static struct {
495495
/*
496496
* Make all runtime-links of perl.
497497
*
498-
* 1. Get module handle using LoadLibraryEx.
498+
* 1. Get module handle using dlopen() or vimLoadLib().
499499
* 2. Get pointer to perl function by GetProcAddress.
500500
* 3. Repeat 2, until get all functions will be used.
501501
*

src/if_tcl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ tcl_runtime_link_init(char *libname, int verbose)
195195

196196
if (hTclLib)
197197
return OK;
198-
if (!(hTclLib = LoadLibraryEx(libname, NULL, 0)))
198+
if (!(hTclLib = vimLoadLib(libname)))
199199
{
200200
if (verbose)
201201
EMSG2(_(e_loadlib), libname);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ static char *(features[]) =
727727

728728
static int included_patches[] =
729729
{ /* Add new patch number below this line */
730+
/**/
731+
10,
730732
/**/
731733
9,
732734
/**/

0 commit comments

Comments
 (0)