]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.112 v7.4.112
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Dec 2013 13:32:09 +0000 (14:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Dec 2013 13:32:09 +0000 (14:32 +0100)
Problem:    The defaults for 'directory' and 'backupdir' on MS-Windows do not
            include a directory that exists.
Solution:   Use $TEMP.

src/os_dos.h
src/version.c

index 17246d4f708c368ed06b69ee446e6d2a3f43ae58..19748c496348ee188470a3e5bcb7767bba140ddf 100644 (file)
 #endif
 
 #ifndef DFLT_BDIR
-# define DFLT_BDIR     ".,c:\\tmp,c:\\temp"    /* default for 'backupdir' */
+# define DFLT_BDIR     ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */
 #endif
 
 #ifndef DFLT_VDIR
 #endif
 
 #ifndef DFLT_DIR
-# define DFLT_DIR      ".,c:\\tmp,c:\\temp"    /* default for 'directory' */
+# define DFLT_DIR      ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */
 #endif
 
 #define DFLT_ERRORFILE         "errors.err"
index 5ec24787459f63a5196885b663ea1a2d0746c8cd..69be33b06025458a3ae5a2284726b65ae25b349e 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    112,
 /**/
     111,
 /**/