aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-30 08:32:12 +0800
committerGitHub <noreply@github.com>2022-03-30 08:32:12 +0800
commite5428d10b5a49e9395190482ff35bbac0c1117ea (patch)
tree9d3c290de9b71bbe892a4127a70cc270cb2360e2 /src/nvim/regexp.c
parent2f378237037150f3c7405fec1d8762e73067d223 (diff)
downloadrneovim-e5428d10b5a49e9395190482ff35bbac0c1117ea.tar.gz
rneovim-e5428d10b5a49e9395190482ff35bbac0c1117ea.tar.bz2
rneovim-e5428d10b5a49e9395190482ff35bbac0c1117ea.zip
vim-patch:8.1.0439: recursive use of getcmdline() still not protected (#17726)
Problem: Recursive use of getcmdline() still not protected. Solution: Instead of saving the command buffer when making a call which may cause recursiveness, save the buffer when actually being called recursively. https://github.com/vim/vim/commit/438d176e35c16d56ff3bb7a80300197ce5a30c4f Co-authored-by: zeertzjq <zeertzjq@outlook.com> Clear ccline earlier in save_cmdline() if ccline is in use so that ccline.prev_ccline can be assigned.
Diffstat (limited to 'src/nvim/regexp.c')
0 files changed, 0 insertions, 0 deletions