|
Karsten Hopp |
73f57e |
To: vim-dev@vim.org
|
|
Karsten Hopp |
73f57e |
Subject: Patch 7.0.166
|
|
Karsten Hopp |
73f57e |
Fcc: outbox
|
|
Karsten Hopp |
73f57e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
73f57e |
Mime-Version: 1.0
|
|
Karsten Hopp |
73f57e |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
73f57e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
73f57e |
------------
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
Patch 7.0.166
|
|
Karsten Hopp |
73f57e |
Problem: Crash in cscope code when connection could not be opened.
|
|
Karsten Hopp |
73f57e |
(Kaya Bekiroglu)
|
|
Karsten Hopp |
73f57e |
Solution: Check for the file descriptor to be NULL.
|
|
Karsten Hopp |
73f57e |
Files: src/if_cscope.c
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
*** ../vim-7.0.165/src/if_cscope.c Mon Oct 30 22:31:30 2006
|
|
Karsten Hopp |
73f57e |
--- src/if_cscope.c Tue Nov 14 22:04:30 2006
|
|
Karsten Hopp |
73f57e |
***************
|
|
Karsten Hopp |
73f57e |
*** 1008,1014 ****
|
|
Karsten Hopp |
73f57e |
totmatches = 0;
|
|
Karsten Hopp |
73f57e |
for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++)
|
|
Karsten Hopp |
73f57e |
{
|
|
Karsten Hopp |
73f57e |
! if (csinfo[i].fname == NULL)
|
|
Karsten Hopp |
73f57e |
continue;
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
/* send cmd to cscope */
|
|
Karsten Hopp |
73f57e |
--- 1008,1014 ----
|
|
Karsten Hopp |
73f57e |
totmatches = 0;
|
|
Karsten Hopp |
73f57e |
for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++)
|
|
Karsten Hopp |
73f57e |
{
|
|
Karsten Hopp |
73f57e |
! if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL)
|
|
Karsten Hopp |
73f57e |
continue;
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
/* send cmd to cscope */
|
|
Karsten Hopp |
73f57e |
*** ../vim-7.0.165/src/version.c Tue Nov 21 11:29:56 2006
|
|
Karsten Hopp |
73f57e |
--- src/version.c Tue Nov 21 11:42:13 2006
|
|
Karsten Hopp |
73f57e |
***************
|
|
Karsten Hopp |
73f57e |
*** 668,669 ****
|
|
Karsten Hopp |
73f57e |
--- 668,671 ----
|
|
Karsten Hopp |
73f57e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
73f57e |
+ /**/
|
|
Karsten Hopp |
73f57e |
+ 166,
|
|
Karsten Hopp |
73f57e |
/**/
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
--
|
|
Karsten Hopp |
73f57e |
The greatest lies of all time:
|
|
Karsten Hopp |
73f57e |
(1) The check is in the mail.
|
|
Karsten Hopp |
73f57e |
(2) We have a really challenging assignment for you.
|
|
Karsten Hopp |
73f57e |
(3) I love you.
|
|
Karsten Hopp |
73f57e |
(4) All bugs have been fixed.
|
|
Karsten Hopp |
73f57e |
(5) This won't hurt a bit.
|
|
Karsten Hopp |
73f57e |
(6) Honey, I just need to debug this program and be home in 5 minutes.
|
|
Karsten Hopp |
73f57e |
(7) I have just sent you an e-mail about that.
|
|
Karsten Hopp |
73f57e |
(8) Of course I'll respect you in the morning.
|
|
Karsten Hopp |
73f57e |
(9) I'm from the government, and I'm here to help you.
|
|
Karsten Hopp |
73f57e |
|
|
Karsten Hopp |
73f57e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
73f57e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
73f57e |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
73f57e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|