X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=vim%2Fpatches%2Fvim-7.3.398.patch0;fp=vim%2Fpatches%2Fvim-7.3.398.patch0;h=0000000000000000000000000000000000000000;hb=372067f993ba010e198032dbd9a96763c434825b;hp=8d4b21381b0d82ef7a0e8643fe7d82fbf99b68f3;hpb=3a94ed2ac173c9f07c3f9865cd3068ca56ebc9f4;p=ipfire-3.x.git diff --git a/vim/patches/vim-7.3.398.patch0 b/vim/patches/vim-7.3.398.patch0 deleted file mode 100644 index 8d4b21381..000000000 --- a/vim/patches/vim-7.3.398.patch0 +++ /dev/null @@ -1,65 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 7.3.398 -Fcc: outbox -From: Bram Moolenaar -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 7.3.398 -Problem: When creating more than 10 location lists and adding items one by - one a previous location may be used. (Audrius Kažukauskas) -Solution: Clear the location list completely when adding the tenth one. -Files: src/quickfix.c - - -*** ../vim-7.3.397/src/quickfix.c 2012-01-10 16:28:41.000000000 +0100 ---- src/quickfix.c 2012-01-10 16:58:52.000000000 +0100 -*************** -*** 899,906 **** - } - else - qi->qf_curlist = qi->qf_listcount++; -! qi->qf_lists[qi->qf_curlist].qf_index = 0; -! qi->qf_lists[qi->qf_curlist].qf_count = 0; - if (qf_title != NULL) - { - char_u *p = alloc((int)STRLEN(qf_title) + 2); ---- 899,905 ---- - } - else - qi->qf_curlist = qi->qf_listcount++; -! vim_memset(&qi->qf_lists[qi->qf_curlist], 0, (size_t)(sizeof(qf_list_T))); - if (qf_title != NULL) - { - char_u *p = alloc((int)STRLEN(qf_title) + 2); -*************** -*** 909,916 **** - if (p != NULL) - sprintf((char *)p, ":%s", (char *)qf_title); - } -- else -- qi->qf_lists[qi->qf_curlist].qf_title = NULL; - } - - /* ---- 908,913 ---- -*** ../vim-7.3.397/src/version.c 2012-01-10 16:28:41.000000000 +0100 ---- src/version.c 2012-01-10 17:13:09.000000000 +0100 -*************** -*** 716,717 **** ---- 716,719 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 398, - /**/ - --- -Why don't cannibals eat clowns? -Because they taste funny. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org ///