Mercurial > vim
view src/testdir/test102.in @ 7677:85a7a945fb87 v7.4.1137
commit https://github.com/vim/vim/commit/62ef797496c6243d111c596a592a8ef8c1d1e710
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 14:51:54 2016 +0100
patch 7.4.1137
Problem: Illegal memory access when using :copen and :cclose.
Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
Add a test.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jan 2016 15:00:06 +0100 |
parents | 6f88e2dafbf6 |
children |
line wrap: on
line source
Test if fnameescape is correct for special chars like ! STARTTEST :so small.vim :%d :let fname = 'Xspa ce' :try | exe "w! " . fnameescape(fname) | put='Space' | endtry :let fname = 'Xemark!' :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry :w! test.out :qa! ENDTEST