|
Karsten Hopp |
d8ee24 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
d8ee24 |
Subject: patch 7.0.204
|
|
Karsten Hopp |
d8ee24 |
Fcc: outbox
|
|
Karsten Hopp |
d8ee24 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d8ee24 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d8ee24 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
d8ee24 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d8ee24 |
------------
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
Patch 7.0.204
|
|
Karsten Hopp |
d8ee24 |
Problem: Cscope: Parsing matches for listing isn't done properly.
|
|
Karsten Hopp |
d8ee24 |
Solution: Check for line number being found. (Yu Zhao)
|
|
Karsten Hopp |
d8ee24 |
Files: src/if_cscope.c
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
*** ../vim-7.0.203/src/if_cscope.c Tue Jan 16 15:17:43 2007
|
|
Karsten Hopp |
d8ee24 |
--- src/if_cscope.c Tue Feb 27 17:56:49 2007
|
|
Karsten Hopp |
d8ee24 |
***************
|
|
Karsten Hopp |
d8ee24 |
*** 1932,1945 ****
|
|
Karsten Hopp |
d8ee24 |
if ((fname = strtok(NULL, (const char *)"\t")) == NULL)
|
|
Karsten Hopp |
d8ee24 |
continue;
|
|
Karsten Hopp |
d8ee24 |
if ((lno = strtok(NULL, (const char *)"\t")) == NULL)
|
|
Karsten Hopp |
d8ee24 |
! {
|
|
Karsten Hopp |
d8ee24 |
! /* if NULL, then no "extra", although in cscope's case, there
|
|
Karsten Hopp |
d8ee24 |
! * should always be "extra".
|
|
Karsten Hopp |
d8ee24 |
! */
|
|
Karsten Hopp |
d8ee24 |
! extra = NULL;
|
|
Karsten Hopp |
d8ee24 |
! }
|
|
Karsten Hopp |
d8ee24 |
!
|
|
Karsten Hopp |
d8ee24 |
! extra = lno + strlen(lno) + 1;
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
lno[strlen(lno)-2] = '\0'; /* ignore ;" at the end */
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
--- 1932,1939 ----
|
|
Karsten Hopp |
d8ee24 |
if ((fname = strtok(NULL, (const char *)"\t")) == NULL)
|
|
Karsten Hopp |
d8ee24 |
continue;
|
|
Karsten Hopp |
d8ee24 |
if ((lno = strtok(NULL, (const char *)"\t")) == NULL)
|
|
Karsten Hopp |
d8ee24 |
! continue;
|
|
Karsten Hopp |
d8ee24 |
! extra = strtok(NULL, (const char *)"\t");
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
lno[strlen(lno)-2] = '\0'; /* ignore ;" at the end */
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
*** ../vim-7.0.203/src/version.c Tue Feb 27 17:25:28 2007
|
|
Karsten Hopp |
d8ee24 |
--- src/version.c Tue Feb 27 18:03:48 2007
|
|
Karsten Hopp |
d8ee24 |
***************
|
|
Karsten Hopp |
d8ee24 |
*** 668,669 ****
|
|
Karsten Hopp |
d8ee24 |
--- 668,671 ----
|
|
Karsten Hopp |
d8ee24 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d8ee24 |
+ /**/
|
|
Karsten Hopp |
d8ee24 |
+ 204,
|
|
Karsten Hopp |
d8ee24 |
/**/
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
--
|
|
Karsten Hopp |
d8ee24 |
I noticed my daughter's Disney-net password on a sticky note:
|
|
Karsten Hopp |
d8ee24 |
"MickeyMinnieGoofyPluto". I asked her why it was so long.
|
|
Karsten Hopp |
d8ee24 |
"Because they say it has to have at least four characters."
|
|
Karsten Hopp |
d8ee24 |
|
|
Karsten Hopp |
d8ee24 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d8ee24 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d8ee24 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
d8ee24 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|