astepano / rpms / vim

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