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.169 < prev    next >
Encoding:
Internet Message Format  |  2002-10-29  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.169
  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.169
  11. Problem:    bufexists() finds a buffer by using the name of a symbolic link to
  12.         it, but bufnr() doesn't. (Yegappan Lakshmanan)
  13. Solution:   When bufnr() can't find a buffer, try using the same method as
  14.         bufexists().
  15. Files:        src/eval.c
  16.  
  17.  
  18. *** ../vim61.168/src/eval.c    Sun Aug  4 21:51:53 2002
  19. --- src/eval.c    Thu Aug 29 21:09:09 2002
  20. ***************
  21. *** 2944,2949 ****
  22. --- 2944,2954 ----
  23.   
  24.       p_magic = save_magic;
  25.       p_cpo = save_cpo;
  26. +     /* If not found, try expanding the name, like done for bufexists(). */
  27. +     if (buf == NULL)
  28. +     buf = find_buffer(avar);
  29.       return buf;
  30.   }
  31.   
  32. *** ../vim61.168/src/version.c    Fri Aug 30 22:25:09 2002
  33. --- src/version.c    Fri Aug 30 22:26:17 2002
  34. ***************
  35. *** 608,609 ****
  36. --- 608,611 ----
  37.   {   /* Add new patch number below this line */
  38. + /**/
  39. +     169,
  40.   /**/
  41.  
  42. -- 
  43. Nothing is impossible for the man who doesn't have to do it.
  44.  
  45.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  46. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  47. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  48.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  49.