Patch 8.2.2202
Problem: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
Files: src/testdir/test_writefile.vim
*** ../vim-8.2.2201/src/testdir/test_writefile.vim 2020-12-23 20:55:12.073916822 +0100
--- src/testdir/test_writefile.vim 2020-12-23 22:39:09.043371772 +0100
***************
*** 682,689 ****
call assert_equal(0z6E6F656F6C, readfile('XNoEolSetEol', 'B'))
" when file is read 'eol' is off
! set ff=unix nofixeol
! e! XNoEolSetEol
call assert_equal(0, &eol)
" writing with 'eol' set adds the newline
--- 682,689 ----
call assert_equal(0z6E6F656F6C, readfile('XNoEolSetEol', 'B'))
" when file is read 'eol' is off
! set nofixeol
! e! ++ff=unix XNoEolSetEol
call assert_equal(0, &eol)
" writing with 'eol' set adds the newline
*** ../vim-8.2.2201/src/version.c 2020-12-23 20:55:12.073916822 +0100
--- src/version.c 2020-12-23 22:39:44.219223410 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2202,
/**/
--
hundred-and-one symptoms of being an internet addict:
22. You've already visited all the links at Yahoo and you're halfway through
Lycos.
/// Bram Moolenaar -- Br...@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 ///