]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.2055: Division by zero in :file after failing to wipe buffer v9.1.2055
authorzeertzjq <zeertzjq@outlook.com>
Tue, 6 Jan 2026 11:11:16 +0000 (11:11 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 6 Jan 2026 11:11:16 +0000 (11:11 +0000)
commit1aa5ca4ecbef76a4df3a228e115eae7cc939cc86
treec6c83f69dc8e712e6f36e2c266b73678a4e4e0ee
parent0ed8ba3079ea5f382e8894c172c3f4f6464e35b6
patch 9.1.2055: Division by zero in :file after failing to wipe buffer

Problem:  Division by zero in :file after failing to wipe buffer
          (after 8.2.4631).
Solution: Still call buf_clear_file() when failing to wipe buffer
          (zeertzjq).

closes: #19088

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/buffer.c
src/testdir/test_autocmd.vim
src/version.c