comparison src/proto/buffer.pro @ 23624:f9d02c83f306 v8.2.2354

patch 8.2.2354: crash with a weird combination of autocommands Commit: https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 15 16:22:52 2021 +0100 patch 8.2.2354: crash with a weird combination of autocommands Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes https://github.com/vim/vim/issues/7674)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Jan 2021 16:30:04 +0100
parents 0b4658e030cb
children f103da6ba95f
comparison
equal deleted inserted replaced
23623:905ba483e284 23624:f9d02c83f306
3 void buffer_ensure_loaded(buf_T *buf); 3 void buffer_ensure_loaded(buf_T *buf);
4 int open_buffer(int read_stdin, exarg_T *eap, int flags); 4 int open_buffer(int read_stdin, exarg_T *eap, int flags);
5 void set_bufref(bufref_T *bufref, buf_T *buf); 5 void set_bufref(bufref_T *bufref, buf_T *buf);
6 int bufref_valid(bufref_T *bufref); 6 int bufref_valid(bufref_T *bufref);
7 int buf_valid(buf_T *buf); 7 int buf_valid(buf_T *buf);
8 void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort); 8 int close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort);
9 void buf_clear_file(buf_T *buf); 9 void buf_clear_file(buf_T *buf);
10 void buf_freeall(buf_T *buf, int flags); 10 void buf_freeall(buf_T *buf, int flags);
11 void free_wininfo(wininfo_T *wip); 11 void free_wininfo(wininfo_T *wip);
12 void goto_buffer(exarg_T *eap, int start, int dir, int count); 12 void goto_buffer(exarg_T *eap, int start, int dir, int count);
13 void handle_swap_exists(bufref_T *old_curbuf); 13 void handle_swap_exists(bufref_T *old_curbuf);