Patch 7.4.077
Problem:    DOS installer creates shortcut without a path, resulting in the
            current directory to be C:\Windows\system32.
Solution:   Use environment variables.
Files:      src/dosinst.c
    

*** ../vim-7.4.076/src/dosinst.c        2013-05-06 04:06:04.000000000 +0200
--- src/dosinst.c       2013-11-06 18:18:47.000000000 +0100
***************
*** 1773,1781 ****
  
  /*
   * We used to use "homedir" as the working directory, but that is a bad choice
!  * on multi-user systems.  Not specifying a directory appears to work best.
   */
! #define WORKDIR ""
  
  /*
   * Create shortcut(s) in the Start Menu\Programs\Vim folder.
--- 1773,1783 ----
  
  /*
   * We used to use "homedir" as the working directory, but that is a bad choice
!  * on multi-user systems.  However, not specifying a directory results in the
!  * current directory to be c:\Windows\system32 on Windows 7. Use environment
!  * variables instead.
   */
! #define WORKDIR "%HOMEDRIVE%%HOMEPATH%"
  
  /*
   * Create shortcut(s) in the Start Menu\Programs\Vim folder.
*** ../vim-7.4.076/src/version.c        2013-11-07 04:46:43.000000000 +0100
--- src/version.c       2013-11-07 04:47:42.000000000 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     77,
  /**/

-- 
JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
                    WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
                    BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
                    EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
                    LAUNCELOT
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui