Mercurial > vim
comparison src/proto/os_win32.pro @ 27581:78e3b38b0d33 v8.2.4317
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails
Commit: https://github.com/vim/vim/commit/63ff72aab91679725077eab5c5405267792268bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 7 13:54:01 2022 +0000
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails
Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
Solution: Hook into the exit() function to recover from the failure.
(Ken Takata, closes #9710)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 15:00:04 +0100 |
parents | 41a940219183 |
children | a077948be0f4 |
comparison
equal
deleted
inserted
replaced
27580:bd5169e86dc5 | 27581:78e3b38b0d33 |
---|---|
1 /* os_win32.c */ | 1 /* os_win32.c */ |
2 HINSTANCE vimLoadLib(char *name); | 2 HINSTANCE vimLoadLib(char *name); |
3 int mch_is_gui_executable(void); | 3 int mch_is_gui_executable(void); |
4 HINSTANCE find_imported_module_by_funcname(HINSTANCE hInst, const char *funcname); | 4 HINSTANCE find_imported_module_by_funcname(HINSTANCE hInst, const char *funcname); |
5 void *get_dll_import_func(HINSTANCE hInst, const char *funcname); | 5 void *get_dll_import_func(HINSTANCE hInst, const char *funcname); |
6 void *hook_dll_import_func(HINSTANCE hInst, const char *funcname, const void *hook); | |
6 int dyn_libintl_init(void); | 7 int dyn_libintl_init(void); |
7 void dyn_libintl_end(void); | 8 void dyn_libintl_end(void); |
8 void PlatformId(void); | 9 void PlatformId(void); |
9 void mch_setmouse(int on); | 10 void mch_setmouse(int on); |
10 void mch_bevalterm_changed(void); | 11 void mch_bevalterm_changed(void); |