home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.077 < prev    next >
Encoding:
Internet Message Format  |  2013-11-07  |  2.2 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.077
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.077
  11. Problem:    DOS installer creates shortcut without a path, resulting in the
  12.             current directory to be C:\Windows\system32.
  13. Solution:   Use environment variables.
  14. Files:      src/dosinst.c
  15.     
  16.  
  17. *** ../vim-7.4.076/src/dosinst.c    2013-05-06 04:06:04.000000000 +0200
  18. --- src/dosinst.c    2013-11-06 18:18:47.000000000 +0100
  19. ***************
  20. *** 1773,1781 ****
  21.   
  22.   /*
  23.    * We used to use "homedir" as the working directory, but that is a bad choice
  24. !  * on multi-user systems.  Not specifying a directory appears to work best.
  25.    */
  26. ! #define WORKDIR ""
  27.   
  28.   /*
  29.    * Create shortcut(s) in the Start Menu\Programs\Vim folder.
  30. --- 1773,1783 ----
  31.   
  32.   /*
  33.    * We used to use "homedir" as the working directory, but that is a bad choice
  34. !  * on multi-user systems.  However, not specifying a directory results in the
  35. !  * current directory to be c:\Windows\system32 on Windows 7. Use environment
  36. !  * variables instead.
  37.    */
  38. ! #define WORKDIR "%HOMEDRIVE%%HOMEPATH%"
  39.   
  40.   /*
  41.    * Create shortcut(s) in the Start Menu\Programs\Vim folder.
  42. *** ../vim-7.4.076/src/version.c    2013-11-07 04:46:43.000000000 +0100
  43. --- src/version.c    2013-11-07 04:47:42.000000000 +0100
  44. ***************
  45. *** 740,741 ****
  46. --- 740,743 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     77,
  50.   /**/
  51.  
  52. -- 
  53. JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
  54.                     WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
  55.                     BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
  56.                     EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
  57.                     LAUNCELOT
  58.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  59.  
  60.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  61. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  62. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  63.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  64.