Skip to content

Commit 6be3e4d

Browse files
committed
Merge branch 'vim'
2 parents 90a2abe + c99b78c commit 6be3e4d

File tree

17 files changed

+410
-53
lines changed

17 files changed

+410
-53
lines changed

.hgtags

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,3 +2750,7 @@ c514693882b9f1c7be2e76a0307926df799da3ea v7-4-021
27502750
9085d32d7424963013650805452ede5dad22211c v7-4-025
27512751
6bbb2ae990c92f6858b86c047e16dd12183d4273 v7-4-026
27522752
73cc7272de5e0173b9578f715c4794a8b3803bce v7-4-027
2753+
923738744a60e5e0bd2d9990758a2169106807ca v7-4-028
2754+
2d3fbc68b3a84ad2bf4d58c77244043328e3fb81 v7-4-029
2755+
0978e99043d2a9faedb1a3bad75b59121c270bde v7-4-030
2756+
b21b5dcdca2197fc86b9bde77bd6777f0e2d5175 v7-4-031

src/GvimExt/Make_cyg.mak

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ endif
3131
ifeq ($(CROSS),yes)
3232
DEL = rm
3333
ifeq ($(MINGWOLD),yes)
34-
CXXFLAGS := -O2 -mno-cygwin -fvtable-thunks
34+
CXXFLAGS := -O2 -fvtable-thunks
3535
else
36-
CXXFLAGS := -O2 -mno-cygwin
36+
CXXFLAGS := -O2
3737
endif
3838
else
39-
CXXFLAGS := -O2 -mno-cygwin
39+
CXXFLAGS := -O2
4040
ifneq (sh.exe, $(SHELL))
4141
DEL = rm
4242
else

src/Make_cyg.mak

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Makefile for VIM on Win32, using Cygnus gcc
3-
# Last updated by Dan Sharp. Last Change: 2013 Apr 22
3+
# Last updated by Dan Sharp. Last Change: 2013 Sep 19
44
#
55
# Also read INSTALLpc.txt!
66
#
@@ -439,8 +439,6 @@ endif
439439
##############################
440440
ifeq (yes, $(USEDLL))
441441
DEFINES += -D_MAX_PATH=256 -D__CYGWIN__
442-
else
443-
INCLUDES += -mno-cygwin
444442
endif
445443

446444
##############################

src/diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ ex_diffoff(eap)
12031203

12041204
for (wp = firstwin; wp != NULL; wp = wp->w_next)
12051205
{
1206-
if (wp == curwin || (eap->forceit && wp->w_p_diff))
1206+
if (eap->forceit ? wp->w_p_diff : wp == curwin)
12071207
{
12081208
/* Set 'diff', 'scrollbind' off and 'wrap' on. If option values
12091209
* were saved in diff_win_options() restore them. */

src/regexp.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8016,12 +8016,11 @@ vim_regcomp(expr_arg, re_flags)
80168016
}
80178017
#endif
80188018
/*
8019-
* If NFA engine failed, then revert to the backtracking engine.
8020-
* Except when there was a syntax error, which was properly handled by
8021-
* NFA engine.
8022-
*/
8019+
* If the NFA engine failed, the backtracking engine won't work either.
8020+
*
80238021
if (regexp_engine == AUTOMATIC_ENGINE)
80248022
prog = bt_regengine.regcomp(expr, re_flags);
8023+
*/
80258024
}
80268025

80278026
return prog;

0 commit comments

Comments
 (0)