From: Bram Moolenaar Date: Sun, 13 Sep 2020 19:01:22 +0000 (+0200) Subject: patch 8.2.1675: MinGW: testdir makefile deletes non-existing file X-Git-Tag: v8.2.1675 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05c1acd5e1564ea4dbc7d4be26908af6909f43f6;p=vim 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) --- diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index f9dcfc86e..5e17963c5 100644 --- 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. diff --git a/src/version.c b/src/version.c index 503c6ead0..57acd28f2 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1675, /**/ 1674, /**/