mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user