Loading ...
Sorry, an error occurred while loading the content.

Patch 6.1.146

Expand Messages
  • Bram Moolenaar
    Patch 6.1.146 Problem: MS-Windows: When $HOME is constructed from $HOMEDRIVE and $HOMEPATH, it is not used for storing the _viminfo file. (Normal Diamond)
    Message 1 of 1 , Aug 3, 2002
    • 0 Attachment
      Patch 6.1.146
      Problem: MS-Windows: When $HOME is constructed from $HOMEDRIVE and
      $HOMEPATH, it is not used for storing the _viminfo file. (Normal
      Diamond)
      Solution: Set $HOME with the value obtained from $HOMEDRIVE and $HOMEPATH.
      Files: src/misc1.c


      *** ../vim61.145/src/misc1.c Sun Jul 28 22:02:42 2002
      --- src/misc1.c Sat Aug 3 21:05:06 2002
      ***************
      *** 2806,2812 ****
      --- 2806,2816 ----
      {
      sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
      if (NameBuff[0] != NUL)
      + {
      var = NameBuff;
      + /* Also set $HOME, it's needed for _viminfo. */
      + vim_setenv((char_u *)"HOME", NameBuff);
      + }
      }
      }
      #endif
      *** ../vim61.145/src/version.c Sat Aug 3 14:16:11 2002
      --- src/version.c Sat Aug 3 21:21:28 2002
      ***************
      *** 608,609 ****
      --- 608,611 ----
      { /* Add new patch number below this line */
      + /**/
      + 146,
      /**/

      --
      Momento mori, ergo carpe diem

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.