0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-09-13 21:01:22 +02:00
parent f0afd9e182
commit 05c1acd5e1
2 changed files with 3 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ tinytests: $(SCRIPTS_TINY_OUT)
# Copy the input files to dostmp, changing the fileformat to dos. # Copy the input files to dostmp, changing the fileformat to dos.
$(DOSTMP)/%.in : %.in $(DOSTMP)/%.in : %.in
if not exist $(DOSTMP)\nul mkdir $(DOSTMP) 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" $< $(VIMPROG) -u dos.vim $(NO_INITS) "+set ff=dos|f $@|wq" $<
# For each input file dostmp/test99.in run the tests. # For each input file dostmp/test99.in run the tests.

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1675,
/**/ /**/
1674, 1674,
/**/ /**/