mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.0040
This commit is contained in:
@@ -223,15 +223,18 @@ ifeq ($(CROSS),yes)
|
|||||||
# cross-compiler:
|
# cross-compiler:
|
||||||
CC = i586-pc-mingw32msvc-gcc
|
CC = i586-pc-mingw32msvc-gcc
|
||||||
DEL = rm
|
DEL = rm
|
||||||
|
MKDIR = mkdir -p
|
||||||
WINDRES = i586-pc-mingw32msvc-windres
|
WINDRES = i586-pc-mingw32msvc-windres
|
||||||
else
|
else
|
||||||
# normal (Windows) compilation:
|
# normal (Windows) compilation:
|
||||||
CC = gcc
|
CC = gcc
|
||||||
ifneq (sh.exe, $(SHELL))
|
ifneq (sh.exe, $(SHELL))
|
||||||
DEL = rm
|
DEL = rm
|
||||||
|
MKDIR = mkdir -p
|
||||||
DIRSLASH = /
|
DIRSLASH = /
|
||||||
else
|
else
|
||||||
DEL = del
|
DEL = del
|
||||||
|
MKDIR = mkdir
|
||||||
DIRSLASH = \\
|
DIRSLASH = \\
|
||||||
endif
|
endif
|
||||||
WINDRES = windres
|
WINDRES = windres
|
||||||
@@ -547,7 +550,7 @@ $(OUTDIR)/vimrc.o: $(OUTDIR)/vimres.res
|
|||||||
$(WINDRES) $(OUTDIR)/vimres.res $(OUTDIR)/vimrc.o
|
$(WINDRES) $(OUTDIR)/vimres.res $(OUTDIR)/vimrc.o
|
||||||
|
|
||||||
$(OUTDIR):
|
$(OUTDIR):
|
||||||
mkdir -p $(OUTDIR)
|
$(MKDIR) $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
|
$(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
|
||||||
$(CC) -c $(CFLAGS) ex_docmd.c -o $(OUTDIR)/ex_docmd.o
|
$(CC) -c $(CFLAGS) ex_docmd.c -o $(OUTDIR)/ex_docmd.o
|
||||||
|
@@ -4939,7 +4939,12 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags)
|
|||||||
*p++ = '"';
|
*p++ = '"';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
/* For a backslash also copy the next character, don't
|
||||||
|
* want to put quotes around it. */
|
||||||
|
if ((*p++ = pat[i][j++]) == '\\' && pat[i][j] != NUL)
|
||||||
*p++ = pat[i][j++];
|
*p++ = pat[i][j++];
|
||||||
|
}
|
||||||
*p = NUL;
|
*p = NUL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user