Patch 7.4.1978 (after 7.4.1975)
Problem:    Large file test does not delete its output.
Solution:   Delete the output. Check size properly when possible. (Ken Takata)
Files:      src/testdir/test_largefile.vim


*** ../vim-7.4.1977/src/testdir/test_largefile.vim      2016-07-01 
17:17:13.298266645 +0200
--- src/testdir/test_largefile.vim      2016-07-01 21:42:24.364927105 +0200
***************
*** 22,30 ****
    normal 50%
    normal gg
    w
!   " Check if the file size is larger than 2^31 - 1 bytes.
!   " Note that getfsize() returns -2 if a Number is 32 bits.
    let fsize=getfsize(fname)
!   call assert_true(fsize > 2147483647 || fsize == -2)
!   "call delete(fname)
  endfunc
--- 22,34 ----
    normal 50%
    normal gg
    w
!   " Check if the file size is 4,000,000,000 bytes.
    let fsize=getfsize(fname)
!   if has('num64')
!     call assert_true(fsize == 4000000000)
!   else
!     " getfsize() returns -2 if a Number is 32 bits.
!     call assert_true(fsize == -2)
!   endif
!   call delete(fname)
  endfunc
*** ../vim-7.4.1977/src/version.c       2016-07-01 20:03:38.259919833 +0200
--- src/version.c       2016-07-01 21:46:08.305654557 +0200
***************
*** 760,761 ****
--- 760,763 ----
  {   /* Add new patch number below this line */
+ /**/
+     1978,
  /**/

-- 
I'm so disorganized my keyboard isn't even in alphabetical order!

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui