]>
Commit | Line | Data |
---|---|---|
c84df032 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.166 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.166 | |
11 | Problem: Crash in cscope code when connection could not be opened. | |
12 | (Kaya Bekiroglu) | |
13 | Solution: Check for the file descriptor to be NULL. | |
14 | Files: src/if_cscope.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.165/src/if_cscope.c Mon Oct 30 22:31:30 2006 | |
18 | --- src/if_cscope.c Tue Nov 14 22:04:30 2006 | |
19 | *************** | |
20 | *** 1008,1014 **** | |
21 | totmatches = 0; | |
22 | for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) | |
23 | { | |
24 | ! if (csinfo[i].fname == NULL) | |
25 | continue; | |
26 | ||
27 | /* send cmd to cscope */ | |
28 | --- 1008,1014 ---- | |
29 | totmatches = 0; | |
30 | for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) | |
31 | { | |
32 | ! if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL) | |
33 | continue; | |
34 | ||
35 | /* send cmd to cscope */ | |
36 | *** ../vim-7.0.165/src/version.c Tue Nov 21 11:29:56 2006 | |
37 | --- src/version.c Tue Nov 21 11:42:13 2006 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 166, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | The greatest lies of all time: | |
48 | (1) The check is in the mail. | |
49 | (2) We have a really challenging assignment for you. | |
50 | (3) I love you. | |
51 | (4) All bugs have been fixed. | |
52 | (5) This won't hurt a bit. | |
53 | (6) Honey, I just need to debug this program and be home in 5 minutes. | |
54 | (7) I have just sent you an e-mail about that. | |
55 | (8) Of course I'll respect you in the morning. | |
56 | (9) I'm from the government, and I'm here to help you. | |
57 | ||
58 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
59 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
60 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
61 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |