]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.108
- manpaged md5 fix
[packages/vim.git] / 6.2.108
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.108
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 6.2.108
11 Problem:    Crash when giving a message about ignoring case in a tag. (Manfred
12             Kuehn)
13 Solution:   Use a longer buffer for the message.
14 Files:      src/tag.c
15
16
17 *** ../vim-6.2.107/src/tag.c    Sat Sep 27 20:18:38 2003
18 --- src/tag.c   Tue Sep 30 21:29:58 2003
19 ***************
20 *** 782,804 ****
21                 && !skip_msg)
22             {
23                 /* Give an indication of the number of matching tags */
24 !               sprintf((char *)msg_buf, _("tag %d of %d%s"),
25                                 cur_match + 1,
26                                 num_matches,
27                                 max_num_matches != MAXCOL ? _(" or more") : "");
28                 if (ic)
29 !                   STRCAT(msg_buf, _("  Using tag with different case!"));
30                 if ((num_matches > prev_num_matches || new_tag)
31                                                            && num_matches > 1)
32                 {
33                     if (ic)
34 !                       msg_attr(msg_buf, hl_attr(HLF_W));
35                     else
36 !                       msg(msg_buf);
37                     msg_scroll = TRUE;  /* don't overwrite this message */
38                 }
39                 else
40 !                   give_warning(msg_buf, ic);
41                 if (ic && !msg_scrolled && msg_silent == 0)
42                 {
43                     out_flush();
44 --- 782,804 ----
45                 && !skip_msg)
46             {
47                 /* Give an indication of the number of matching tags */
48 !               sprintf((char *)IObuff, _("tag %d of %d%s"),
49                                 cur_match + 1,
50                                 num_matches,
51                                 max_num_matches != MAXCOL ? _(" or more") : "");
52                 if (ic)
53 !                   STRCAT(IObuff, _("  Using tag with different case!"));
54                 if ((num_matches > prev_num_matches || new_tag)
55                                                            && num_matches > 1)
56                 {
57                     if (ic)
58 !                       msg_attr(IObuff, hl_attr(HLF_W));
59                     else
60 !                       msg(IObuff);
61                     msg_scroll = TRUE;  /* don't overwrite this message */
62                 }
63                 else
64 !                   give_warning(IObuff, ic);
65                 if (ic && !msg_scrolled && msg_silent == 0)
66                 {
67                     out_flush();
68 *** ../vim-6.2.107/src/version.c        Sun Oct 12 16:42:14 2003
69 --- src/version.c       Sun Oct 12 16:51:44 2003
70 ***************
71 *** 639,640 ****
72 --- 639,642 ----
73   {   /* Add new patch number below this line */
74 + /**/
75 +     108,
76   /**/
77
78 -- 
79 If Microsoft would build a car...
80 ... Occasionally your car would die on the freeway for no
81 reason. You would have to pull over to the side of the road,
82 close all of the car windows, shut it off, restart it, and
83 reopen the windows before you could continue. For some reason
84 you would simply accept this.
85
86  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
87 ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
88 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
89  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.051394 seconds and 3 git commands to generate.