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