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.0.214 < prev    next >
Encoding:
Internet Message Format  |  2002-02-10  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.214
  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.0.214
  11. Problem:    When there is a buffer without a name, empty entries appear in the
  12.         jumplist saved in the viminfo file.
  13. Solution:   Don't write jumplist entries without a file name.
  14. Files:        src/mark.c
  15.  
  16.  
  17. *** ../vim60.213/src/mark.c    Wed Sep 26 16:17:12 2001
  18. --- src/mark.c    Mon Feb 11 14:51:37 2002
  19. ***************
  20. *** 1135,1141 ****
  21.       name = buflist_nr2name(fm->fmark.fnum, TRUE, FALSE);
  22.       else
  23.       name = fm->fname;        /* use name from .viminfo */
  24. !     if (name == NULL)
  25.       return;
  26.   
  27.       fprintf(fp, "%c%c  %ld  %ld  ", c1, c2, (long)fm->fmark.mark.lnum,
  28. --- 1135,1141 ----
  29.       name = buflist_nr2name(fm->fmark.fnum, TRUE, FALSE);
  30.       else
  31.       name = fm->fname;        /* use name from .viminfo */
  32. !     if (name == NULL || *name == NUL)
  33.       return;
  34.   
  35.       fprintf(fp, "%c%c  %ld  %ld  ", c1, c2, (long)fm->fmark.mark.lnum,
  36. *** ../vim60.213/src/version.c    Mon Feb 11 14:09:33 2002
  37. --- src/version.c    Mon Feb 11 14:59:38 2002
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     214,
  44.   /**/
  45.  
  46. -- 
  47. ARTHUR:  Well, I AM king...
  48. DENNIS:  Oh king, eh, very nice.  An' how'd you get that, eh?  By exploitin'
  49.          the workers -- by 'angin' on to outdated imperialist dogma which
  50.          perpetuates the economic an' social differences in our society!  If
  51.          there's ever going to be any progress--
  52.                                   The Quest for the Holy Grail (Monty Python)
  53.  
  54.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  55. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  56.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  57.