changeset 22252:52f8d1248dd9 v8.2.1675

patch 8.2.1675: MinGW: testdir makefile deletes non-existing file Commit: https://github.com/vim/vim/commit/05c1acd5e1564ea4dbc7d4be26908af6909f43f6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 13 21:01:22 2020 +0200 patch 8.2.1675: MinGW: testdir makefile deletes non-existing file Problem: MinGW: testdir makefile deletes non-existing file. Solution: Use another way to delete the output file if it already exists. (Michael Soyka)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Sep 2020 21:15:07 +0200
parents 99cf46e7d4bf
children e79ac8fe24c1
files src/testdir/Make_ming.mak src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/Make_ming.mak
+++ b/src/testdir/Make_ming.mak
@@ -95,7 +95,7 @@ tinytests: $(SCRIPTS_TINY_OUT)
 # Copy the input files to dostmp, changing the fileformat to dos.
 $(DOSTMP)/%.in : %.in
 	if not exist $(DOSTMP)\nul mkdir $(DOSTMP)
-	if not exist $@ $(DEL) $@
+	if exist $(DOSTMP)\$< $(DEL) $(DOSTMP)\$<
 	$(VIMPROG) -u dos.vim $(NO_INITS) "+set ff=dos|f $@|wq" $<
 
 # For each input file dostmp/test99.in run the tests.
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1675,
+/**/
     1674,
 /**/
     1673,