Problem: Crash when using :tabonly in BufUnload.
Solution: Set curbuf when setting curwin->w_buffer. Don't close buffer
when there are no other buffers.
https://github.com/vim/vim/pull/19186
(3 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@zeertzjq commented on this pull request.
In src/testdir/test_autocmd.vim:
> + " FIXME: This dereferences a NULL firstbuf.
+ " call Run_test_BufUnload_tabonly('setlocal bufhidden=wipe')
This also crashes, but I can't figure out how to fix it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()