|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
To: vim-dev@vim.org
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Subject: Patch 7.2.326
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Fcc: outbox
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Mime-Version: 1.0
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Content-Type: text/plain; charset=UTF-8
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Content-Transfer-Encoding: 8bit
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
------------
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Patch 7.2.326
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Problem: Win32: $HOME doesn't work when %HOMEPATH% is not defined.
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Solution: Use "\" for %HOMEPATH% when it is not defined.
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
Files: src/misc1.c
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
*** ../vim-7.2.325/src/misc1.c 2009-12-02 17:47:46.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
--- src/misc1.c 2010-01-05 19:53:23.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
***************
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
*** 3470,3476 ****
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
homepath = mch_getenv((char_u *)"HOMEPATH");
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
! if (homedrive != NULL && homepath != NULL
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
&& STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL)
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
{
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
--- 3470,3478 ----
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
homepath = mch_getenv((char_u *)"HOMEPATH");
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
! if (homepath == NULL || *homepath == NUL)
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
! homepath = "\\";
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
! if (homedrive != NULL
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
&& STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL)
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
{
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
*** ../vim-7.2.325/src/version.c 2009-12-31 14:52:48.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
--- src/version.c 2010-01-06 17:39:23.000000000 +0100
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
***************
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
*** 683,684 ****
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
--- 683,686 ----
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
{ /* Add new patch number below this line */
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
+ /**/
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
+ 326,
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
/**/
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
--
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
From "know your smileys":
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
:q vi user saying, "How do I get out of this damn emacs editor?"
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
![](https://seccdn.libravatar.org/avatar/d9c2329ed86b5a3d16b53832d4e0af08aeacef0449836318546ae137799e4323?s=16&d=retro) |
b78b93f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|