To: vim_dev@googlegroups.com Subject: Patch 7.4b.010 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4b.010 Problem: Win32: Tcl library load does not use standard mechanism. Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata) Files: src/if_perl.xs, src/if_tcl.c *** ../vim-7.4b.009/src/if_perl.xs 2013-08-02 16:10:29.000000000 +0200 --- src/if_perl.xs 2013-08-02 19:28:50.000000000 +0200 *************** *** 495,501 **** /* * Make all runtime-links of perl. * ! * 1. Get module handle using LoadLibraryEx. * 2. Get pointer to perl function by GetProcAddress. * 3. Repeat 2, until get all functions will be used. * --- 495,501 ---- /* * Make all runtime-links of perl. * ! * 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. * *** ../vim-7.4b.009/src/if_tcl.c 2012-02-22 15:47:00.000000000 +0100 --- src/if_tcl.c 2013-08-02 19:31:15.000000000 +0200 *************** *** 195,201 **** if (hTclLib) return OK; ! if (!(hTclLib = LoadLibraryEx(libname, NULL, 0))) { if (verbose) EMSG2(_(e_loadlib), libname); --- 195,201 ---- if (hTclLib) return OK; ! if (!(hTclLib = vimLoadLib(libname))) { if (verbose) EMSG2(_(e_loadlib), libname); *** ../vim-7.4b.009/src/version.c 2013-08-02 17:22:19.000000000 +0200 --- src/version.c 2013-08-02 20:04:24.000000000 +0200 *************** *** 729,730 **** --- 729,732 ---- { /* Add new patch number below this line */ + /**/ + 10, /**/ -- Bumper sticker: Honk if you love peace and quiet. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///