comparison src/main.c @ 36352:4d8f75bec047 draft v9.1.0797

patch 9.1.0797: testing of options can be further improved Commit: https://github.com/vim/vim/commit/6eca04e9f1d446dc509ba51e32da56fa413fe2f0 Author: Milly <milly.ca@gmail.com> Date: Mon Oct 21 22:20:51 2024 +0200 patch 9.1.0797: testing of options can be further improved Problem: testing of options can be further improved Solution: split the generated option test into test_options_all.vim, add more test cases, save and restore values, fix use-after-free closes: #15894 Signed-off-by: Milly <milly.ca@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 21 Oct 2024 22:30:03 +0200
parents 2d7721a4d213
children
comparison
equal deleted inserted replaced
36351:8c4caf0db96d 36352:4d8f75bec047
1692 if (unblock) 1692 if (unblock)
1693 block_autocmds(); 1693 block_autocmds();
1694 } 1694 }
1695 1695
1696 #ifdef FEAT_VIMINFO 1696 #ifdef FEAT_VIMINFO
1697 if (*p_viminfo != NUL) 1697 if (
1698 # ifdef EXITFREE
1699 entered_free_all_mem == FALSE &&
1700 # endif
1701 *p_viminfo != NUL)
1698 // Write out the registers, history, marks etc, to the viminfo file 1702 // Write out the registers, history, marks etc, to the viminfo file
1699 write_viminfo(NULL, FALSE); 1703 write_viminfo(NULL, FALSE);
1700 #endif 1704 #endif
1701 1705
1702 if (v_dying <= 1) 1706 if (v_dying <= 1)