mirror of
https://github.com/vim/vim.git
synced 2025-10-19 08:04:27 -04:00
patch 9.1.1097: --log with non-existent path causes a crash
Problem: --log with non-existent path causes a crash (Ekkosun) Solution: split initialization phase and init the execution stack earlier (Hirohito Higashi) fixes: #16606 closes: #16610 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
97baa1cfe8
commit
c5654b8448
@@ -508,7 +508,8 @@ main(int argc, char **argv)
|
||||
CLEAR_FIELD(params);
|
||||
params.argc = argc;
|
||||
params.argv = argv;
|
||||
common_init(¶ms);
|
||||
common_init_1();
|
||||
common_init_2(¶ms);
|
||||
|
||||
set_option_value_give_err((char_u *)"encoding", 0, (char_u *)"utf-8", 0);
|
||||
init_chartab();
|
||||
|
Reference in New Issue
Block a user