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.146 < prev    next >
Encoding:
Internet Message Format  |  2002-08-02  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.146
  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.146
  11. Problem:    MS-Windows: When $HOME is constructed from $HOMEDRIVE and
  12.         $HOMEPATH, it is not used for storing the _viminfo file.  (Normal
  13.         Diamond)
  14. Solution:   Set $HOME with the value obtained from $HOMEDRIVE and $HOMEPATH.
  15. Files:        src/misc1.c
  16.  
  17.  
  18. *** ../vim61.145/src/misc1.c    Sun Jul 28 22:02:42 2002
  19. --- src/misc1.c    Sat Aug  3 21:05:06 2002
  20. ***************
  21. *** 2806,2812 ****
  22. --- 2806,2816 ----
  23.       {
  24.           sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
  25.           if (NameBuff[0] != NUL)
  26. +         {
  27.           var = NameBuff;
  28. +         /* Also set $HOME, it's needed for _viminfo. */
  29. +         vim_setenv((char_u *)"HOME", NameBuff);
  30. +         }
  31.       }
  32.       }
  33.   #endif
  34. *** ../vim61.145/src/version.c    Sat Aug  3 14:16:11 2002
  35. --- src/version.c    Sat Aug  3 21:21:28 2002
  36. ***************
  37. *** 608,609 ****
  38. --- 608,611 ----
  39.   {   /* Add new patch number below this line */
  40. + /**/
  41. +     146,
  42.   /**/
  43.  
  44. -- 
  45. Momento mori, ergo carpe diem
  46.  
  47.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  48. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  49. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  50.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  51.