To: vim-dev@vim.org Subject: Patch 5.6.027 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.027 Problem: TCL: Crash when using a Tcl script (reported for Win32). Solution: Call Tcl_FindExecutable() in main(). (Brent Fulgham) Files: src/main.c *** ../vim-5.6.26/src/main.c Thu Jan 13 22:58:37 2000 --- src/main.c Thu Jan 27 20:59:33 2000 *************** *** 17,22 **** --- 17,27 ---- # include /* special MSDOS swapping library */ #endif + #ifdef HAVE_TCL + # undef EXTERN /* redefined in tcl.h */ + # include + #endif + #ifdef HAVE_FCNTL_H # include #endif *************** *** 296,301 **** --- 301,310 ---- #ifdef RISCOS /* Turn off all the horrible filename munging in UnixLib. */ __uname_control = __UNAME_NO_PROCESS; + #endif + + #ifdef HAVE_TCL + Tcl_FindExecutable(argv[0]); #endif #ifdef MEM_PROFILE *** ../vim-5.6.26/src/version.c Sat Mar 25 18:49:15 2000 --- src/version.c Sat Mar 25 20:30:46 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 27, /**/ -- "Intelligence has much less practical application than you'd think." -- Scott Adams, Dilbert. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/