aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/lstat_win.c
diff options
context:
space:
mode:
authorvvvv <vvvv@yandex-team.ru>2022-02-10 16:46:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:37 +0300
commita693106aae8a3a3c7236a4ae953058a9611d7a92 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/folder/lstat_win.c
parentad94e93a059747f4fc3d7add88d1a83daf40b733 (diff)
downloadydb-a693106aae8a3a3c7236a4ae953058a9611d7a92.tar.gz
Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/lstat_win.c')
-rw-r--r--util/folder/lstat_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/folder/lstat_win.c b/util/folder/lstat_win.c
index d89a7a8d79..cf94cec01a 100644
--- a/util/folder/lstat_win.c
+++ b/util/folder/lstat_win.c
@@ -19,7 +19,7 @@ int lstat(const char* fileName, stat_struct* fileStat) {
int result;
result = _wstat64(buf, fileStat);
if (result == 0) {
- SetLastError(0);
+ SetLastError(0);
findHandle = FindFirstFileW(buf, &findBuf);
if (findBuf.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT &&
(findBuf.dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT || findBuf.dwReserved0 == IO_REPARSE_TAG_SYMLINK))