|
Karsten Hopp |
9cfa18 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
9cfa18 |
Subject: Patch 7.2.428
|
|
Karsten Hopp |
9cfa18 |
Fcc: outbox
|
|
Karsten Hopp |
9cfa18 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9cfa18 |
Mime-Version: 1.0
|
|
Karsten Hopp |
9cfa18 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9cfa18 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9cfa18 |
------------
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
Patch 7.2.428
|
|
Karsten Hopp |
9cfa18 |
Problem: Using setqflist([]) to clear the error list doesn't work properly.
|
|
Karsten Hopp |
9cfa18 |
Solution: Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt)
|
|
Karsten Hopp |
9cfa18 |
Files: src/quickfix.c
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
*** ../vim-7.2.427/src/quickfix.c 2010-01-19 14:59:14.000000000 +0100
|
|
Karsten Hopp |
9cfa18 |
--- src/quickfix.c 2010-05-14 18:06:27.000000000 +0200
|
|
Karsten Hopp |
9cfa18 |
***************
|
|
Karsten Hopp |
9cfa18 |
*** 3654,3660 ****
|
|
Karsten Hopp |
9cfa18 |
}
|
|
Karsten Hopp |
9cfa18 |
}
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
! qi->qf_lists[qi->qf_curlist].qf_nonevalid = FALSE;
|
|
Karsten Hopp |
9cfa18 |
qi->qf_lists[qi->qf_curlist].qf_ptr = qi->qf_lists[qi->qf_curlist].qf_start;
|
|
Karsten Hopp |
9cfa18 |
qi->qf_lists[qi->qf_curlist].qf_index = 1;
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
--- 3654,3664 ----
|
|
Karsten Hopp |
9cfa18 |
}
|
|
Karsten Hopp |
9cfa18 |
}
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
! if (qi->qf_lists[qi->qf_curlist].qf_index == 0)
|
|
Karsten Hopp |
9cfa18 |
! /* empty list or no valid entry */
|
|
Karsten Hopp |
9cfa18 |
! qi->qf_lists[qi->qf_curlist].qf_nonevalid = TRUE;
|
|
Karsten Hopp |
9cfa18 |
! else
|
|
Karsten Hopp |
9cfa18 |
! qi->qf_lists[qi->qf_curlist].qf_nonevalid = FALSE;
|
|
Karsten Hopp |
9cfa18 |
qi->qf_lists[qi->qf_curlist].qf_ptr = qi->qf_lists[qi->qf_curlist].qf_start;
|
|
Karsten Hopp |
9cfa18 |
qi->qf_lists[qi->qf_curlist].qf_index = 1;
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
*** ../vim-7.2.427/src/version.c 2010-05-14 17:52:35.000000000 +0200
|
|
Karsten Hopp |
9cfa18 |
--- src/version.c 2010-05-14 18:09:32.000000000 +0200
|
|
Karsten Hopp |
9cfa18 |
***************
|
|
Karsten Hopp |
9cfa18 |
*** 683,684 ****
|
|
Karsten Hopp |
9cfa18 |
--- 683,686 ----
|
|
Karsten Hopp |
9cfa18 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9cfa18 |
+ /**/
|
|
Karsten Hopp |
9cfa18 |
+ 428,
|
|
Karsten Hopp |
9cfa18 |
/**/
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
--
|
|
Karsten Hopp |
9cfa18 |
Seen it all, done it all, can't remember most of it.
|
|
Karsten Hopp |
9cfa18 |
|
|
Karsten Hopp |
9cfa18 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9cfa18 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9cfa18 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
9cfa18 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|