|
Karsten Hopp |
fcecc6 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
fcecc6 |
Subject: Patch 7.0.086
|
|
Karsten Hopp |
fcecc6 |
Fcc: outbox
|
|
Karsten Hopp |
fcecc6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fcecc6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
fcecc6 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
fcecc6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fcecc6 |
------------
|
|
Karsten Hopp |
fcecc6 |
|
|
Karsten Hopp |
fcecc6 |
Patch 7.0.086
|
|
Karsten Hopp |
fcecc6 |
Problem: getqflist() returns entries for pattern and text with the number
|
|
Karsten Hopp |
fcecc6 |
zero. Passing these to setqflist() results in the string "0".
|
|
Karsten Hopp |
fcecc6 |
Solution: Use an empty string instead of the number zero.
|
|
Karsten Hopp |
fcecc6 |
Files: src/quickfix.c
|
|
Karsten Hopp |
fcecc6 |
|
|
Karsten Hopp |
fcecc6 |
|
|
Karsten Hopp |
fcecc6 |
*** ../vim-7.0.085/src/quickfix.c Tue Aug 29 17:28:56 2006
|
|
Karsten Hopp |
fcecc6 |
--- src/quickfix.c Mon Sep 4 20:18:48 2006
|
|
Karsten Hopp |
fcecc6 |
***************
|
|
Karsten Hopp |
fcecc6 |
*** 3426,3433 ****
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "col", (long)qfp->qf_col, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "vcol", (long)qfp->qf_viscol, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "nr", (long)qfp->qf_nr, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
! || dict_add_nr_str(dict, "pattern", 0L, qfp->qf_pattern) == FAIL
|
|
Karsten Hopp |
fcecc6 |
! || dict_add_nr_str(dict, "text", 0L, qfp->qf_text) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "type", 0L, buf) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "valid", (long)qfp->qf_valid, NULL) == FAIL)
|
|
Karsten Hopp |
fcecc6 |
return FAIL;
|
|
Karsten Hopp |
fcecc6 |
--- 3426,3435 ----
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "col", (long)qfp->qf_col, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "vcol", (long)qfp->qf_viscol, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "nr", (long)qfp->qf_nr, NULL) == FAIL
|
|
Karsten Hopp |
fcecc6 |
! || dict_add_nr_str(dict, "pattern", 0L,
|
|
Karsten Hopp |
fcecc6 |
! qfp->qf_pattern == NULL ? (char_u *)"" : qfp->qf_pattern) == FAIL
|
|
Karsten Hopp |
fcecc6 |
! || dict_add_nr_str(dict, "text", 0L,
|
|
Karsten Hopp |
fcecc6 |
! qfp->qf_text == NULL ? (char_u *)"" : qfp->qf_text) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "type", 0L, buf) == FAIL
|
|
Karsten Hopp |
fcecc6 |
|| dict_add_nr_str(dict, "valid", (long)qfp->qf_valid, NULL) == FAIL)
|
|
Karsten Hopp |
fcecc6 |
return FAIL;
|
|
Karsten Hopp |
fcecc6 |
*** ../vim-7.0.085/src/version.c Tue Sep 5 13:34:30 2006
|
|
Karsten Hopp |
fcecc6 |
--- src/version.c Tue Sep 5 15:35:40 2006
|
|
Karsten Hopp |
fcecc6 |
***************
|
|
Karsten Hopp |
fcecc6 |
*** 668,669 ****
|
|
Karsten Hopp |
fcecc6 |
--- 668,671 ----
|
|
Karsten Hopp |
fcecc6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fcecc6 |
+ /**/
|
|
Karsten Hopp |
fcecc6 |
+ 86,
|
|
Karsten Hopp |
fcecc6 |
/**/
|
|
Karsten Hopp |
fcecc6 |
|
|
Karsten Hopp |
fcecc6 |
--
|
|
Karsten Hopp |
fcecc6 |
A vacation is a period of travel during which you find that you
|
|
Karsten Hopp |
fcecc6 |
took twice as many clothes and half as much money as you needed.
|
|
Karsten Hopp |
fcecc6 |
|
|
Karsten Hopp |
fcecc6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fcecc6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fcecc6 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
fcecc6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|