To: vim_dev@googlegroups.com Subject: Patch 8.2.4613 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4613 Problem: Return type of swapfile_unchanged() is wrong. Solution: Use "int". (closes #10000 Yeah!) Files: src/memline.c *** ../vim-8.2.4612/src/memline.c 2022-02-16 19:24:03.626162408 +0000 --- src/memline.c 2022-03-23 13:51:16.789146863 +0000 *************** *** 2261,2267 **** * Return TRUE if the swap file looks OK and there are no changes, thus it can * be safely deleted. */ ! static time_t swapfile_unchanged(char_u *fname) { stat_T st; --- 2261,2267 ---- * Return TRUE if the swap file looks OK and there are no changes, thus it can * be safely deleted. */ ! static int swapfile_unchanged(char_u *fname) { stat_T st; *** ../vim-8.2.4612/src/version.c 2022-03-23 11:29:08.560730204 +0000 --- src/version.c 2022-03-23 13:53:00.976973967 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4613, /**/ -- GUARD #1: Where'd you get the coconut? ARTHUR: We found them. GUARD #1: Found them? In Mercea? The coconut's tropical! ARTHUR: What do you mean? GUARD #1: Well, this is a temperate zone. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///