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