Skip to content

Commit b86a343

Browse files
committed
patch 7.4.1079
Problem: New include file missing from distribution. Missing changes to quickfix code. Solution: Add alloc.h to the list of distributed files. Use the enum in quickfix code.
1 parent acb4f22 commit b86a343

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Filelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SRC_ALL = \
77
.travis.yml \
88
appveyor.yml \
99
src/README.txt \
10+
src/alloc.h \
1011
src/arabic.c \
1112
src/arabic.h \
1213
src/ascii.h \

src/quickfix.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ qf_init_ext(qi, efile, buf, tv, errorformat, newlist, lnumfirst, lnumlast,
250250
{'s', ".\\+"}
251251
};
252252

253-
namebuf = alloc_id(CMDBUFFSIZE + 1, 3);
254-
errmsg = alloc_id(CMDBUFFSIZE + 1, 4);
255-
pattern = alloc_id(CMDBUFFSIZE + 1, 5);
253+
namebuf = alloc_id(CMDBUFFSIZE + 1, aid_qf_namebuf);
254+
errmsg = alloc_id(CMDBUFFSIZE + 1, aid_qf_errmsg);
255+
pattern = alloc_id(CMDBUFFSIZE + 1, aid_qf_pattern);
256256
if (namebuf == NULL || errmsg == NULL || pattern == NULL)
257257
goto qf_init_end;
258258

@@ -3462,8 +3462,8 @@ ex_vimgrep(eap)
34623462
goto theend;
34633463
}
34643464

3465-
dirname_start = alloc_id(MAXPATHL, 1);
3466-
dirname_now = alloc_id(MAXPATHL, 2);
3465+
dirname_start = alloc_id(MAXPATHL, aid_qf_dirname_start);
3466+
dirname_now = alloc_id(MAXPATHL, aid_qf_dirname_now);
34673467
if (dirname_start == NULL || dirname_now == NULL)
34683468
goto theend;
34693469

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1079,
744746
/**/
745747
1078,
746748
/**/

0 commit comments

Comments
 (0)