|
|
dcaee6 |
To: vim_dev@googlegroups.com
|
|
|
dcaee6 |
Subject: Patch 7.4.077
|
|
|
dcaee6 |
Fcc: outbox
|
|
|
dcaee6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
dcaee6 |
Mime-Version: 1.0
|
|
|
dcaee6 |
Content-Type: text/plain; charset=UTF-8
|
|
|
dcaee6 |
Content-Transfer-Encoding: 8bit
|
|
|
dcaee6 |
------------
|
|
|
dcaee6 |
|
|
|
dcaee6 |
Patch 7.4.077
|
|
|
dcaee6 |
Problem: DOS installer creates shortcut without a path, resulting in the
|
|
|
dcaee6 |
current directory to be C:\Windows\system32.
|
|
|
dcaee6 |
Solution: Use environment variables.
|
|
|
dcaee6 |
Files: src/dosinst.c
|
|
|
dcaee6 |
|
|
|
dcaee6 |
|
|
|
dcaee6 |
*** ../vim-7.4.076/src/dosinst.c 2013-05-06 04:06:04.000000000 +0200
|
|
|
dcaee6 |
--- src/dosinst.c 2013-11-06 18:18:47.000000000 +0100
|
|
|
dcaee6 |
***************
|
|
|
dcaee6 |
*** 1773,1781 ****
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/*
|
|
|
dcaee6 |
* We used to use "homedir" as the working directory, but that is a bad choice
|
|
|
dcaee6 |
! * on multi-user systems. Not specifying a directory appears to work best.
|
|
|
dcaee6 |
*/
|
|
|
dcaee6 |
! #define WORKDIR ""
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/*
|
|
|
dcaee6 |
* Create shortcut(s) in the Start Menu\Programs\Vim folder.
|
|
|
dcaee6 |
--- 1773,1783 ----
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/*
|
|
|
dcaee6 |
* We used to use "homedir" as the working directory, but that is a bad choice
|
|
|
dcaee6 |
! * on multi-user systems. However, not specifying a directory results in the
|
|
|
dcaee6 |
! * current directory to be c:\Windows\system32 on Windows 7. Use environment
|
|
|
dcaee6 |
! * variables instead.
|
|
|
dcaee6 |
*/
|
|
|
dcaee6 |
! #define WORKDIR "%HOMEDRIVE%%HOMEPATH%"
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/*
|
|
|
dcaee6 |
* Create shortcut(s) in the Start Menu\Programs\Vim folder.
|
|
|
dcaee6 |
*** ../vim-7.4.076/src/version.c 2013-11-07 04:46:43.000000000 +0100
|
|
|
dcaee6 |
--- src/version.c 2013-11-07 04:47:42.000000000 +0100
|
|
|
dcaee6 |
***************
|
|
|
dcaee6 |
*** 740,741 ****
|
|
|
dcaee6 |
--- 740,743 ----
|
|
|
dcaee6 |
{ /* Add new patch number below this line */
|
|
|
dcaee6 |
+ /**/
|
|
|
dcaee6 |
+ 77,
|
|
|
dcaee6 |
/**/
|
|
|
dcaee6 |
|
|
|
dcaee6 |
--
|
|
|
dcaee6 |
JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
|
|
|
dcaee6 |
WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
|
|
|
dcaee6 |
BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
|
|
|
dcaee6 |
EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
|
|
|
dcaee6 |
LAUNCELOT
|
|
|
dcaee6 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
dcaee6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
dcaee6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
dcaee6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|