changeset 4930:7155782d94fb v7.3.1210

updated for version 7.3.1210 Problem: 'backupcopy' default on MS-Windows is wrong when 'encoding' equals the current codepage. Solution: Change the #else block. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Sun, 16 Jun 2013 16:34:56 +0200
parents 2e603b674312
children ea297dbcc864
files src/os_win32.c src/version.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -2789,14 +2789,16 @@ mch_is_symbolic_link(char_u *fname)
 	    reparseTag = findDataW.dwReserved0;
 	}
     }
-#else
-    hFind = FindFirstFile(fname, &findDataA);
-    if (hFind != INVALID_HANDLE_VALUE)
+    else
+#endif
     {
-	fileFlags = findDataA.dwFileAttributes;
-	reparseTag = findDataA.dwReserved0;
+	hFind = FindFirstFile(fname, &findDataA);
+	if (hFind != INVALID_HANDLE_VALUE)
+	{
+	    fileFlags = findDataA.dwFileAttributes;
+	    reparseTag = findDataA.dwReserved0;
+	}
     }
-#endif
 
     if (hFind != INVALID_HANDLE_VALUE)
 	FindClose(hFind);
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1210,
+/**/
     1209,
 /**/
     1208,