Mercurial > vim
view src/proto/if_xcmdsrv.pro @ 27195:005ebb9c8b8f v8.2.4126
patch 8.2.4126: crash on exit when built with dynamic Tcl
Commit: https://github.com/vim/vim/commit/afa76e1cf2e7e1f9e1097e345a4272e9ddbf14ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 17 21:34:38 2022 +0000
patch 8.2.4126: crash on exit when built with dynamic Tcl
Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
(Dominique Pell?)
Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Jan 2022 22:45:04 +0100 |
parents | 71311d899b42 |
children |
line wrap: on
line source
/* if_xcmdsrv.c */ int serverRegisterName(Display *dpy, char_u *name); void serverChangeRegisteredWindow(Display *dpy, Window newwin); int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, int silent); char_u *serverGetVimNames(Display *dpy); Window serverStrToWin(char_u *str); int serverSendReply(char_u *name, char_u *str); int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); int serverPeekReply(Display *dpy, Window win, char_u **str); void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); void server_parse_messages(void); int server_waiting(void); /* vim: set ft=c : */