3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.112
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.112
3ef2ca
Problem:    The defaults for 'directory' and 'backupdir' on MS-Windows do not
3ef2ca
	    include a directory that exists.
3ef2ca
Solution:   Use $TEMP.
3ef2ca
Files:	    src/os_dos.h
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.111/src/os_dos.h	2013-06-12 20:09:44.000000000 +0200
3ef2ca
--- src/os_dos.h	2013-12-04 15:23:22.000000000 +0100
3ef2ca
***************
3ef2ca
*** 109,115 ****
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_BDIR
3ef2ca
! # define DFLT_BDIR	".,c:\\tmp,c:\\temp"	/* default for 'backupdir' */
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_VDIR
3ef2ca
--- 109,115 ----
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_BDIR
3ef2ca
! # define DFLT_BDIR	".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_VDIR
3ef2ca
***************
3ef2ca
*** 117,123 ****
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_DIR
3ef2ca
! # define DFLT_DIR	".,c:\\tmp,c:\\temp"	/* default for 'directory' */
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #define DFLT_ERRORFILE		"errors.err"
3ef2ca
--- 117,123 ----
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #ifndef DFLT_DIR
3ef2ca
! # define DFLT_DIR	".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */
3ef2ca
  #endif
3ef2ca
  
3ef2ca
  #define DFLT_ERRORFILE		"errors.err"
3ef2ca
*** ../vim-7.4.111/src/version.c	2013-12-07 14:28:37.000000000 +0100
3ef2ca
--- src/version.c	2013-12-07 14:31:03.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     112,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
How To Keep A Healthy Level Of Insanity:
3ef2ca
13. Go to a poetry recital and ask why the poems don't rhyme.
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    ///