Patch 8.2.3042 (after 8.2.3041)
Problem:    Swap file test fails.
Solution:   Check for a very high process ID instead of one, which should be
            running.
Files:      src/testdir/test_swap.vim


*** ../vim-8.2.3041/src/testdir/test_swap.vim   2021-06-06 17:12:43.204322378 
+0200
--- src/testdir/test_swap.vim   2021-06-23 21:42:35.758095987 +0200
***************
*** 201,208 ****
    " This test won't work as root because root can successfully run kill(1, 0)
    if !IsRoot()
      " Write the swapfile with a modified PID, now it will be automatically
!     " deleted. Process one should never be Vim.
!     let swapfile_bytes[24:27] = 0z01000000
      call writefile(swapfile_bytes, swapfile_name)
      let s:swapname = ''
      split XswapfileText
--- 201,208 ----
    " This test won't work as root because root can successfully run kill(1, 0)
    if !IsRoot()
      " Write the swapfile with a modified PID, now it will be automatically
!     " deleted. Process 0x3fffffff most likely does not exist.
!     let swapfile_bytes[24:27] = 0zffffff3f
      call writefile(swapfile_bytes, swapfile_name)
      let s:swapname = ''
      split XswapfileText
*** ../vim-8.2.3041/src/version.c       2021-06-23 21:13:17.325564860 +0200
--- src/version.c       2021-06-23 21:43:40.673936001 +0200
***************
*** 757,758 ****
--- 757,760 ----
  {   /* Add new patch number below this line */
+ /**/
+     3042,
  /**/

-- 
One difference between a man and a machine is that a machine is quiet
when well oiled.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202106231944.15NJie3U1232161%40masaka.moolenaar.net.

Raspunde prin e-mail lui