diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-28 15:43:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-28 15:43:58 +0100 |
commit | 833e5dab143034b7e43bc0be49b2eb3687ff9ab7 (patch) | |
tree | 8b1eadfebcdff371250baf829336a97d99786a00 /src | |
parent | 1c29943416207e21abbc790eaf563b36789170c2 (diff) | |
download | vim-git-833e5dab143034b7e43bc0be49b2eb3687ff9ab7.tar.gz |
patch 8.1.0500: cleaning up in src/tee may not always workv8.1.0500
Problem: Cleaning up in src/tee may not always work.
Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571)
Diffstat (limited to 'src')
-rw-r--r-- | src/tee/Makefile | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/tee/Makefile b/src/tee/Makefile index 12c43d510..7419913cc 100644 --- a/src/tee/Makefile +++ b/src/tee/Makefile @@ -3,6 +3,12 @@ CC=gcc CFLAGS=-O2 -fno-strength-reduce +ifneq (sh.exe, $(SHELL)) +DEL = rm +else +DEL = del +endif + tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< @@ -10,6 +16,6 @@ tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - - del tee.o - - del tee.exe + - $(DEL) tee.o + - $(DEL) tee.exe diff --git a/src/version.c b/src/version.c index b1aa8aa43..9d700e2ba 100644 --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 500, +/**/ 499, /**/ 498, |