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:
parent
70baa405f2
commit
03e114b0f2
@ -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);
|
||||
|
@ -728,6 +728,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1210,
|
||||
/**/
|
||||
1209,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user