Commit 535ff384e2afe029147b89b95c9fb812c955cd7b

Sebastian Schuberth 2011-06-10T13:54:47

Prefer to use S_IFLNK instead of _S_IFLNK for consistency

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/fileops.c b/src/fileops.c
index 98fc53a..54f6d93 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -627,7 +627,7 @@ static int do_lstat(const char *file_name, struct stat *buf)
 			fMode |= S_IWRITE;
 
 		if (fdata.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
-			fMode |= _S_IFLNK;
+			fMode |= S_IFLNK;
 
 		buf->st_ino = 0;
 		buf->st_gid = 0;