home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.429 < prev    next >
Encoding:
Internet Message Format  |  2003-03-30  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.429
  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.1.429 (depends on 6.1.390)
  11. Problem:    Crash when using showmarks.vim plugin. (Charles Campbell)
  12. Solution:   Check for sign_get_text() returning a NULL pointer.
  13. Files:        src/screen.c
  14.  
  15.  
  16. *** ../vim61.428/src/screen.c    Wed Mar 26 21:35:24 2003
  17. --- src/screen.c    Mon Mar 24 20:15:10 2003
  18. ***************
  19. *** 2910,2917 ****
  20.   # endif
  21.               {
  22.                   p_extra = sign_get_text(text_sign);
  23. !                 c_extra = NUL;
  24. !                 n_extra = STRLEN(p_extra);
  25.                   char_attr = sign_get_attr(text_sign, FALSE);
  26.               }
  27.               }
  28. --- 2910,2920 ----
  29.   # endif
  30.               {
  31.                   p_extra = sign_get_text(text_sign);
  32. !                 if (p_extra != NULL)
  33. !                 {
  34. !                 c_extra = NUL;
  35. !                 n_extra = STRLEN(p_extra);
  36. !                 }
  37.                   char_attr = sign_get_attr(text_sign, FALSE);
  38.               }
  39.               }
  40. *** ../vim61.428/src/version.c    Mon Mar 31 20:44:10 2003
  41. --- src/version.c    Mon Mar 31 20:49:38 2003
  42. ***************
  43. *** 613,614 ****
  44. --- 613,616 ----
  45.   {   /* Add new patch number below this line */
  46. + /**/
  47. +     429,
  48.   /**/
  49.  
  50. -- 
  51. In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
  52. of them are to be found in the United States.
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  56. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  57.  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
  58.