]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0184: when an error is caught Vim still exits with non-zero result v8.0.0184
authorBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 18:24:52 +0000 (19:24 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 18:24:52 +0000 (19:24 +0100)
commit2b7bc567b9238aaac682236cb4f727d0376e1302
tree3c417467743a4413e87288d41625e2323c1c6e1f
parent7173b47958a238bb07f80b8f26fb232b0ea69b4a
patch 8.0.0184: when an error is caught Vim still exits with non-zero result

Problem:    When in Ex mode and an error is caught by try-catch, Vim still
            exits with a non-zero exit code.
Solution:   Don't set ex_exitval when inside a try-catch. (partly by Christian
            Brabandt)
src/message.c
src/testdir/test_system.vim
src/version.c