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