Patch 8.2.2019 (after 8.2.2016)
Problem:    Swap file test fails on MS-Windows.
Solution:   Add four to the process ID. (Ken Takata, closes #7333)
Files:      src/testdir/test_swap.vim


*** ../vim-8.2.2018/src/testdir/test_swap.vim   2020-11-19 18:57:20.019638274 
+0100
--- src/testdir/test_swap.vim   2020-11-20 09:08:19.776118709 +0100
***************
*** 416,423 ****
    " Forget about the file, recreate the swap file, then edit it again.  The
    " swap file should be automatically deleted.
    bwipe!
!   " change the process ID to avoid the "still running" warning
!   let swapfile_bytes[24] = swapfile_bytes[24] + 1
    call writefile(swapfile_bytes, swapfile_name)
    edit Xtest.scr
    " will end up using the same swap file after deleting the existing one
--- 416,424 ----
    " Forget about the file, recreate the swap file, then edit it again.  The
    " swap file should be automatically deleted.
    bwipe!
!   " Change the process ID to avoid the "still running" warning.  Must add four
!   " for MS-Windows to see it as a different one.
!   let swapfile_bytes[24] = swapfile_bytes[24] + 4
    call writefile(swapfile_bytes, swapfile_name)
    edit Xtest.scr
    " will end up using the same swap file after deleting the existing one
*** ../vim-8.2.2018/src/version.c       2020-11-19 21:47:52.722076508 +0100
--- src/version.c       2020-11-20 09:09:14.823890922 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2019,
  /**/

-- 
The greatest lies of all time:
  (1) The check is in the mail.
  (2) We have a really challenging assignment for you.
  (3) I love you.
  (4) All bugs have been fixed.
  (5) This won't hurt a bit.
  (6) Honey, I just need to debug this program and be home in 5 minutes.
  (7) I have just sent you an e-mail about that.
  (8) Of course I'll respect you in the morning.
  (9) I'm from the government, and I'm here to help you.

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202011200811.0AK8BJKr562201%40masaka.moolenaar.net.

Raspunde prin e-mail lui