]> granicus.if.org Git - vim/commitdiff
patch 7.4.1079 v7.4.1079
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 15:00:53 +0000 (16:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 15:00:53 +0000 (16:00 +0100)
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.

Filelist
src/quickfix.c
src/version.c

index d58c53c7a6c0718f4ef2e3aa3da1a4a63ff1c5c8..a1ed826d2523d0eb4fb5f2532ad7f3e346efe928 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -7,6 +7,7 @@ SRC_ALL =       \
                .travis.yml \
                appveyor.yml \
                src/README.txt \
+               src/alloc.h \
                src/arabic.c \
                src/arabic.h \
                src/ascii.h \
index e231fdfe92e73ead3a042ad16b55a7f6456e5e18..003d0075df849b06cf19b4b76a1fd10d4711af69 100644 (file)
@@ -250,9 +250,9 @@ qf_init_ext(qi, efile, buf, tv, errorformat, newlist, lnumfirst, lnumlast,
                        {'s', ".\\+"}
                    };
 
-    namebuf = alloc_id(CMDBUFFSIZE + 1, 3);
-    errmsg = alloc_id(CMDBUFFSIZE + 1, 4);
-    pattern = alloc_id(CMDBUFFSIZE + 1, 5);
+    namebuf = alloc_id(CMDBUFFSIZE + 1, aid_qf_namebuf);
+    errmsg = alloc_id(CMDBUFFSIZE + 1, aid_qf_errmsg);
+    pattern = alloc_id(CMDBUFFSIZE + 1, aid_qf_pattern);
     if (namebuf == NULL || errmsg == NULL || pattern == NULL)
        goto qf_init_end;
 
@@ -3462,8 +3462,8 @@ ex_vimgrep(eap)
        goto theend;
     }
 
-    dirname_start = alloc_id(MAXPATHL, 1);
-    dirname_now = alloc_id(MAXPATHL, 2);
+    dirname_start = alloc_id(MAXPATHL, aid_qf_dirname_start);
+    dirname_now = alloc_id(MAXPATHL, aid_qf_dirname_now);
     if (dirname_start == NULL || dirname_now == NULL)
        goto theend;
 
index 891e611387606461b36f4646776ef1d5a93b70a4..723dcf8a6ba3a23b940693e3063386b09d6c3287 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1079,
 /**/
     1078,
 /**/