0
0
mirror of https://github.com/vim/vim.git synced 2025-09-02 21:13:50 -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;
}
}
#else
hFind = FindFirstFile(fname, &findDataA);
if (hFind != INVALID_HANDLE_VALUE)
{
fileFlags = findDataA.dwFileAttributes;
reparseTag = findDataA.dwReserved0;
}
else
#endif
{
hFind = FindFirstFile(fname, &findDataA);
if (hFind != INVALID_HANDLE_VALUE)
{
fileFlags = findDataA.dwFileAttributes;
reparseTag = findDataA.dwReserved0;
}
}
if (hFind != INVALID_HANDLE_VALUE)
FindClose(hFind);

View File

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