]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.254
- fix for current libselinux
[packages/vim.git] / 6.2.254
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.254
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.254
11 Problem:    May run out of space for error messages.
12 Solution:   Keep room for two more bytes.
13 Files:      src/quickfix.c
14
15
16 *** ../vim-6.2.253/src/quickfix.c       Tue Feb 10 19:35:15 2004
17 --- src/quickfix.c      Tue Feb 10 15:24:52 2004
18 ***************
19 *** 405,413 ****
20        * Read the lines in the error file one by one.
21        * Try to recognize one of the error formats in each line.
22        */
23 !     while (fgets((char *)IObuff, CMDBUFFSIZE, fd) != NULL && !got_int)
24       {
25 !       IObuff[CMDBUFFSIZE] = NUL;  /* for very long lines */
26         if ((efmp = vim_strrchr(IObuff, '\n')) != NULL)
27             *efmp = NUL;
28   #ifdef USE_CRNL
29 --- 405,413 ----
30        * Read the lines in the error file one by one.
31        * Try to recognize one of the error formats in each line.
32        */
33 !     while (fgets((char *)IObuff, CMDBUFFSIZE - 2, fd) != NULL && !got_int)
34       {
35 !       IObuff[CMDBUFFSIZE - 2] = NUL;  /* for very long lines */
36         if ((efmp = vim_strrchr(IObuff, '\n')) != NULL)
37             *efmp = NUL;
38   #ifdef USE_CRNL
39 *** ../vim-6.2.253/src/version.c        Wed Feb 11 14:40:25 2004
40 --- src/version.c       Sun Feb 15 13:00:44 2004
41 ***************
42 *** 639,640 ****
43 --- 639,642 ----
44   {   /* Add new patch number below this line */
45 + /**/
46 +     254,
47   /**/
48
49 -- 
50 hundred-and-one symptoms of being an internet addict:
51 142. You dream about creating the world's greatest web site.
52
53  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
54 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
56  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.034683 seconds and 3 git commands to generate.