8b9a1c
To: vim_dev@googlegroups.com
8b9a1c
Subject: Patch 7.4.112
8b9a1c
Fcc: outbox
8b9a1c
From: Bram Moolenaar <Bram@moolenaar.net>
8b9a1c
Mime-Version: 1.0
8b9a1c
Content-Type: text/plain; charset=UTF-8
8b9a1c
Content-Transfer-Encoding: 8bit
8b9a1c
------------
8b9a1c
8b9a1c
Patch 7.4.112
8b9a1c
Problem:    The defaults for 'directory' and 'backupdir' on MS-Windows do not
8b9a1c
	    include a directory that exists.
8b9a1c
Solution:   Use $TEMP.
8b9a1c
Files:	    src/os_dos.h
8b9a1c
8b9a1c
8b9a1c
*** ../vim-7.4.111/src/os_dos.h	2013-06-12 20:09:44.000000000 +0200
8b9a1c
--- src/os_dos.h	2013-12-04 15:23:22.000000000 +0100
8b9a1c
***************
8b9a1c
*** 109,115 ****
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_BDIR
8b9a1c
! # define DFLT_BDIR	".,c:\\tmp,c:\\temp"	/* default for 'backupdir' */
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_VDIR
8b9a1c
--- 109,115 ----
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_BDIR
8b9a1c
! # define DFLT_BDIR	".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_VDIR
8b9a1c
***************
8b9a1c
*** 117,123 ****
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_DIR
8b9a1c
! # define DFLT_DIR	".,c:\\tmp,c:\\temp"	/* default for 'directory' */
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #define DFLT_ERRORFILE		"errors.err"
8b9a1c
--- 117,123 ----
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #ifndef DFLT_DIR
8b9a1c
! # define DFLT_DIR	".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */
8b9a1c
  #endif
8b9a1c
  
8b9a1c
  #define DFLT_ERRORFILE		"errors.err"
8b9a1c
*** ../vim-7.4.111/src/version.c	2013-12-07 14:28:37.000000000 +0100
8b9a1c
--- src/version.c	2013-12-07 14:31:03.000000000 +0100
8b9a1c
***************
8b9a1c
*** 740,741 ****
8b9a1c
--- 740,743 ----
8b9a1c
  {   /* Add new patch number below this line */
8b9a1c
+ /**/
8b9a1c
+     112,
8b9a1c
  /**/
8b9a1c
8b9a1c
-- 
8b9a1c
How To Keep A Healthy Level Of Insanity:
8b9a1c
13. Go to a poetry recital and ask why the poems don't rhyme.
8b9a1c
8b9a1c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
8b9a1c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
8b9a1c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
8b9a1c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///