Vim developers,
The following statement
if not exist $@ $(DEL) $@
on line 98 in testdir/Make_ming.mak has two errors:
1. it attempts to delete a non-existing file and
2. the path that is substituted for $@ includes unix/linux path separators.
The attached patch fixes both.
Regards,
-mike
--
--
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/bdb4fed1-45ba-4410-a2ca-1e5f9a5b9a32o%40googlegroups.com.
>From ecd618a243356f30ece84da2107221e9071d6101 Mon Sep 17 00:00:00 2001
From: msoyka-of-wharton <[email protected]>
Date: Sun, 13 Sep 2020 12:09:32 -0400
Subject: [PATCH] Fix path separator in Make_ming.mak
---
src/testdir/Make_ming.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak
index f9dcfc8..5e17963 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.
--
2.10.0.windows.1