diff options
Diffstat (limited to 'data/vim/patches/8.1.1352')
-rw-r--r-- | data/vim/patches/8.1.1352 | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/data/vim/patches/8.1.1352 b/data/vim/patches/8.1.1352 deleted file mode 100644 index 530459951..000000000 --- a/data/vim/patches/8.1.1352 +++ /dev/null @@ -1,68 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.1352 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.1352 -Problem: Undofile() reports wrong name. (Francisco Giordano) -Solution: Clean up the name before changing path separators. (closes #4392, - closes #4394) -Files: src/evalfunc.c, src/testdir/test_undo.vim - - -*** ../vim-8.1.1351/src/evalfunc.c 2019-05-16 20:29:40.799834279 +0200 ---- src/evalfunc.c 2019-05-19 15:25:48.998541324 +0200 -*************** -*** 15128,15134 **** - } - else - { -! char_u *ffname = FullName_save(fname, FALSE); - - if (ffname != NULL) - rettv->vval.v_string = u_get_undo_file_name(ffname, FALSE); ---- 15128,15134 ---- - } - else - { -! char_u *ffname = FullName_save(fname, TRUE); - - if (ffname != NULL) - rettv->vval.v_string = u_get_undo_file_name(ffname, FALSE); -*** ../vim-8.1.1351/src/testdir/test_undo.vim 2018-12-14 15:48:44.259178570 +0100 ---- src/testdir/test_undo.vim 2019-05-19 15:24:54.666834346 +0200 -*************** -*** 440,444 **** ---- 440,449 ---- - " Test undofile() with 'undodir' set to a non-existing directory. - call assert_equal('', undofile('Xundofoo')) - -+ if isdirectory('/tmp') -+ set undodir=/tmp -+ call assert_equal('/tmp/%tmp%file', undofile('///tmp/file')) -+ endif -+ - set undodir& - endfunc -*** ../vim-8.1.1351/src/version.c 2019-05-19 15:19:53.824445415 +0200 ---- src/version.c 2019-05-19 15:26:56.666177156 +0200 -*************** -*** 769,770 **** ---- 769,772 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 1352, - /**/ - --- -EXPERIENCE - experience is a wonderful thing. It enables you to -recognise a mistake when you make it again. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |