073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.406
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.406
073263
Problem:    Test 72 and 100 fail on MS-Windows.
073263
Solution:   Set fileformat to unix in the tests. (Taro Muraoka)
073263
Files:	    src/testdir/test72.in, src/testdir/test100.in
073263
073263
073263
*** ../vim-7.4.405/src/testdir/test72.in	2014-08-10 13:34:59.064785459 +0200
073263
--- src/testdir/test72.in	2014-08-16 17:31:40.426134656 +0200
073263
***************
073263
*** 8,13 ****
073263
--- 8,14 ----
073263
  :" Test 'undofile': first a simple one-line change.
073263
  :set nocompatible viminfo+=nviminfo visualbell
073263
  :set ul=100 undofile nomore
073263
+ :set ff=unix
073263
  :e! Xtestfile
073263
  ggdGithis is one line?:set ul=100
073263
  :s/one/ONE/
073263
*** ../vim-7.4.405/src/testdir/test100.in	2014-03-12 18:55:52.104906804 +0100
073263
--- src/testdir/test100.in	2014-08-16 17:32:17.642133306 +0200
073263
***************
073263
*** 18,23 ****
073263
--- 18,24 ----
073263
  :call FillBuffer()
073263
  :call feedkeys(":earlier 10\n", 't')
073263
  :call UndoLevel()
073263
+ :set ff=unix
073263
  :%w! test.out
073263
  :new two
073263
  :0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards)'
073263
***************
073263
*** 27,32 ****
073263
--- 28,34 ----
073263
  :call UndoLevel()
073263
  :setlocal ul=10
073263
  :call UndoLevel()
073263
+ :set ff=unix
073263
  :%w >> test.out
073263
  :wincmd p
073263
  :redir >>test.out | echo "global value shouldn't be changed and still be 5!" | echo 'ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'|:setglobal undolevels? | echon ' global' | setlocal undolevels? | echon ' local' |echo "" |redir end
073263
***************
073263
*** 35,40 ****
073263
--- 37,43 ----
073263
  :1put ='global value should be changed to 50'
073263
  :2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (default)'
073263
  :call UndoLevel()
073263
+ :set ff=unix
073263
  :%w >> test.out
073263
  :"sleep 10
073263
  :"
073263
*** ../vim-7.4.405/src/version.c	2014-08-16 16:28:31.886272055 +0200
073263
--- src/version.c	2014-08-16 17:32:10.130133579 +0200
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     406,
073263
  /**/
073263
073263
-- 
073263
Time is an illusion.  Lunchtime doubly so.
073263
		-- Ford Prefect, in Douglas Adams'
073263
		   "The Hitchhiker's Guide to the Galaxy"
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///