4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.2.187 (after 7.2.186)
11 Problem: Doesn't build with older versions of TCL. (Yongwei Wu)
12 Solution: Add #ifdefs. (Dominique Pelle)
16 *** ../vim-7.2.186/src/if_tcl.c 2009-05-22 21:07:45.000000000 +0200
17 --- src/if_tcl.c 2009-05-23 14:23:51.000000000 +0200
23 ! * Declare HANDLE for perl.dll and function pointers.
25 static HANDLE hTclLib = NULL;
26 Tcl_Interp* (*dll_Tcl_CreateInterp)();
31 ! * Declare HANDLE for tcl.dll and function pointers.
33 static HANDLE hTclLib = NULL;
34 Tcl_Interp* (*dll_Tcl_CreateInterp)();
37 * Make all runtime-links of tcl.
39 * 1. Get module handle using LoadLibraryEx.
40 ! * 2. Get pointer to perl function by GetProcAddress.
41 * 3. Repeat 2, until get all functions will be used.
43 * Parameter 'libname' provides name of DLL.
45 * Make all runtime-links of tcl.
47 * 1. Get module handle using LoadLibraryEx.
48 ! * 2. Get pointer to tcl function by GetProcAddress.
49 * 3. Repeat 2, until get all functions will be used.
51 * Parameter 'libname' provides name of DLL.
55 static Tcl_ChannelType channel_type =
58 ! NULL, /* blockmode */
63 ! NULL, /* set option */
64 ! NULL, /* get option */
76 /**********************************
79 static Tcl_ChannelType channel_type =
81 ! "vimmessage", /* typeName */
83 ! channel_close, /* closeProc */
84 ! channel_input, /* inputProc */
85 ! channel_output, /* outputProc */
86 ! NULL, /* seekProc */
87 ! NULL, /* setOptionProc */
88 ! NULL, /* getOptionProc */
89 ! channel_watch, /* watchProc */
90 ! channel_gethandle, /* getHandleProc */
91 ! NULL, /* close2Proc */
92 ! NULL, /* blockModeProc */
93 ! #ifdef TCL_CHANNEL_VERSION_2
94 ! NULL, /* flushProc */
95 ! NULL, /* handlerProc */
97 ! #ifdef TCL_CHANNEL_VERSION_3
98 ! NULL, /* wideSeekProc */
100 ! #ifdef TCL_CHANNEL_VERSION_4
101 ! NULL, /* threadActionProc */
103 ! #ifdef TCL_CHANNEL_VERSION_5
104 ! NULL /* truncateProc */
108 /**********************************
109 *** ../vim-7.2.186/src/version.c 2009-05-22 21:07:45.000000000 +0200
110 --- src/version.c 2009-05-23 14:25:04.000000000 +0200
114 { /* Add new patch number below this line */
120 Friends? I have lots of friends! In fact, I have every episode ever made.
122 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
123 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
124 \\\ download, build and distribute -- http://www.A-A-P.org ///
125 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///