0
0
mirror of https://github.com/vim/vim.git synced 2025-09-05 21:43:39 -04:00

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)
This commit is contained in:
Bram Moolenaar 2013-06-16 16:34:56 +02:00
parent 70baa405f2
commit 03e114b0f2
2 changed files with 11 additions and 7 deletions

View File

@ -2789,14 +2789,16 @@ mch_is_symbolic_link(char_u *fname)
reparseTag = findDataW.dwReserved0; reparseTag = findDataW.dwReserved0;
} }
} }
#else else
#endif
{
hFind = FindFirstFile(fname, &findDataA); hFind = FindFirstFile(fname, &findDataA);
if (hFind != INVALID_HANDLE_VALUE) if (hFind != INVALID_HANDLE_VALUE)
{ {
fileFlags = findDataA.dwFileAttributes; fileFlags = findDataA.dwFileAttributes;
reparseTag = findDataA.dwReserved0; reparseTag = findDataA.dwReserved0;
} }
#endif }
if (hFind != INVALID_HANDLE_VALUE) if (hFind != INVALID_HANDLE_VALUE)
FindClose(hFind); FindClose(hFind);

View File

@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1210,
/**/ /**/
1209, 1209,
/**/ /**/